Module Resource_pool.Mutex

type t = unit Async.Mvar.Read_write.t
val acquire : t -> unit Async_kernel__.Deferred.t
val release : t -> unit
val with_ : t -> f:( unit -> 'a Async_kernel__Deferred.t ) -> 'b Async_kernel__Deferred.t
val create : unit -> unit Async.Mvar.Read_write.t