Module Lock.LockRef

Type allowing to manipulate the lock as a reference when one is holding it.

type 'a t
val as_ref : 'a t -> 'a ref
val get : 'a t -> 'a
val set : 'a t -> 'a -> unit