type t
type request
type resource
val request : t ‑> request ‑> (resource, Rresult.R.msg) Rresult.result Thread.t
val release : t ‑> resource ‑> unit