picos.structured
Picos_structured.Run
Operations for running fibers in specific patterns.
picos
picos.domain
picos.exn_bt
picos.fd
picos.fifos
picos.htbl
picos.lwt
picos.mpsc_queue
picos.rc
picos.select
picos.stdio
picos.sync
picos.thread
picos.threaded
val all : (unit -> unit) list -> unit
all actions starts all the actions as separate fibers and waits until they all complete.
all actions
val any : (unit -> unit) list -> unit
any actions starts all the actions as separate fibers and waits until at least one of them completes. The rest of the started fibers will then be canceled.
any actions
⚠️ Calling any [] is equivalent to calling block ().
any []
block ()