Module Qcow_rwlock
type t
A lock which permits multiple concurrent threads to acquire it for reading but demands exclusivity for writing
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
type ts
= t list
val sexp_of_ts : ts -> Ppx_sexp_conv_lib.Sexp.t
val make : (unit -> string) -> t
make describe_fn
creates a new lock, wheredescribe_fn ()
returns a human-readable description string suitable for debug output.
val unlock : lock -> unit
unlock locked
releases the lock associated withlocked
module Client : sig ... end
module Read : sig ... end
module Write : sig ... end
module Debug : sig ... end