package moonpool

  1. Overview
  2. Docs
Pools of threads supported by a pool of domains

Install

dune-project
 Dependency

Authors

Maintainers

Sources

moonpool-0.12.tbz
sha256=7641327370ece987c09accdd15eb31566931ecdd58d41189080b0b951b8addfc
sha512=65d45c44cda768ba6934ad4d6b9a397651a87b34a143c85fe1108228db861c369d6efc4832adfcac85368c6a861f33816af4d7c3e3d1238eaddfc564c0ea42db

doc/moonpool.private/Moonpool_private/Bb_queue_/index.html

Module Moonpool_private.Bb_queue_Source

Sourcetype 'a t = {
  1. mutex : Mutex.t;
  2. cond : Condition.t;
  3. q : 'a Queue.t;
  4. mutable closed : bool;
}
Sourceexception Closed
Sourceval create : unit -> 'a t
Sourceval close : 'a t -> unit
Sourceval push : 'a t -> 'a -> unit
Sourceval pop : 'a t -> 'a
Sourceval try_pop : force_lock:bool -> 'a t -> 'a option
Sourceval try_push : 'a t -> 'a -> bool
Sourceval size : 'a t -> int
Sourceval transfer : 'a t -> 'a Queue.t -> unit
Sourcetype 'a gen = unit -> 'a option
Sourcetype 'a iter = ('a -> unit) -> unit
Sourceval to_iter : 'a t -> ('a -> unit) -> unit
Sourceval to_gen : 'a t -> 'a gen
Sourceval to_seq : 'a t -> 'a Seq.t