Module CCLock.LockRef

Type allowing to manipulate the lock as a reference.

since
0.13
type 'a t
val get : 'a t -> 'a
val set : 'a t -> 'a -> unit
val update : 'a t -> ('a -> 'a) -> unit