[thread-safety] understand custom Buck locks

Reviewed By: jberdine

Differential Revision: D5003607

fbshipit-source-id: e36d137
master
Sam Blackshear 8 years ago committed by Facebook Github Bot
parent 174c0091ae
commit 4425f0908c

@ -90,6 +90,9 @@ module TransferFunctions (CFG : ProcCfg.S) = struct
| "java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock"), | "java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock"),
"tryLock" -> "tryLock" ->
LockedIfTrue LockedIfTrue
| "com.facebook.buck.util.concurrent.AutoCloseableReadWriteUpdateLock",
("readLock" | "updateLock" | "writeLock") ->
Lock
| _ -> | _ ->
NoEffect NoEffect
end end

Loading…
Cancel
Save