package opam-lib
The OPAM library
Install
Dune Dependency
Authors
-
TThomas Gazagnaire <thomas@gazagnaire.org>
-
AAnil Madhavapeddy <anil@recoil.org>
-
FFabrice Le Fessant <Fabrice.Le_fessant@inria.fr>
-
FFrederic Tuong <tuong@users.gforge.inria.fr>
-
LLouis Gesbert <louis.gesbert@ocamlpro.com>
-
GGuillem Rieu <guillem.rieu@ocamlpro.com>
-
VVincent Bernardoff <vb@luminar.eu.org>
-
RRoberto Di Cosmo <roberto@dicosmo.org>
Maintainers
Sources
1.3.1.tar.gz
sha256=625767c3465219cc8799aad1449c74279b31686db0821300cfdb92fbff17e9fd
md5=e0688c0cf9a55f93ee93f62d07cf6b74
doc/opam-lib.solver/OpamActionGraph/module-type-SIG/Parallel/index.html
Module SIG.Parallel
module G : OpamParallel.G with type t = t with type V.t = vertex
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 ->
unit
Runs the job command ~pred v
for every node v
in a graph, in topological order, using jobs
concurrent processes. pred
is the associative list of job results on direct predecessors of v
.
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) list
Same as iter
, but returns the results of all jobs as a vertex,result
associative list
Raised when the command
functions raised exceptions. Parameters are (successfully traversed nodes, exception nodes and corresponding exceptions, remaining nodes that weren't traversed)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>