Module type JoinPool.Shared.S


module type S = sig .. end
Output signature of the pool functor

type elt 
Element from a collection
type collection 
Collection

type ('a, 'b) t = {
   register : (elt, 'a) JoinPool.Shared.worker Join.chan;
   register_interruptible : ((elt, 'a) JoinPool.Shared.interruptible_worker *
JoinPool.Shared.kill)
Join.chan
;
   fold : collection -> ('a -> 'b -> 'b) -> 'b -> 'b;
}
Pools dispatch computations among registered agents, re-issuing pending tasks if agents do not send computation outcomes.

Given a pool p, returned by create ():


val create : unit -> ('a, 'b) t
Pool creator