Module OpamParallel.Make
Parameters
Signature
val iter : jobs:int -> command:(pred:(G.V.t * 'a) list -> G.V.t -> 'a OpamProcess.job) -> ?dry_run:bool -> ?mutually_exclusive:G.V.t list list -> G.t -> unitRuns the job
command ~pred vfor every nodevin a graph, in topological order, usingjobsconcurrent processes.predis the associative list of job results on direct predecessors ofv.
val map : jobs:int -> command:(pred:(G.V.t * 'a) list -> G.V.t -> 'a OpamProcess.job) -> ?dry_run:bool -> ?mutually_exclusive:G.V.t list list -> G.t -> (G.V.t * 'a) listSame as
iter, but returns the results of all jobs as avertex,resultassociative list
exceptionErrors of G.V.t list * (G.V.t * exn) list * G.V.t listRaised when the
commandfunctions raised exceptions. Parameters are (successfully traversed nodes, exception nodes and corresponding exceptions, remaining nodes that weren't traversed)
exceptionCyclic of G.V.t list listRaised when the graph to traverse has cycles. Returns the cycles found.