package opam-core
Core library for opam 2.4
Install
Dune Dependency
Authors
-
David Allsopp
-
VVincent Bernardoff <vb@luminar.eu.org>
-
RRaja Boujbel <raja.boujbel@ocamlpro.com>
-
KKate Deplaix <kit-ty-kate@outlook.com>
-
RRoberto Di Cosmo <roberto@dicosmo.org>
-
TThomas Gazagnaire <thomas@gazagnaire.org>
-
LLouis Gesbert <louis.gesbert@ocamlpro.com>
-
FFabrice Le Fessant <Fabrice.Le_fessant@inria.fr>
-
AAnil Madhavapeddy <anil@recoil.org>
-
GGuillem Rieu <guillem.rieu@ocamlpro.com>
-
RRalf Treinen <ralf.treinen@pps.jussieu.fr>
-
FFrederic Tuong <tuong@users.gforge.inria.fr>
Maintainers
Sources
2.4.0-alpha1.tar.gz
md5=6a0c8a0b5e33757c962dde7c0c5bfce7
sha512=cc4eb75ee1f0c5dc020e5d07dc2b7f7b0a5ccd8182ff1b799bce15c024f86eb5c97eb194bdb838d107d634e8f0073e2de098d343eab1779038deeeed5abd5879
doc/opam-core/OpamParallel/index.html
Module OpamParallel
Source
Parallel execution of jobs following a directed graph
When one job fails due to an exception, other running jobs are interrupted and reported with this sub-exception in the Errors list
Simply parallel execution of tasks
In the simple iter, map and reduce cases, ints are the indexes of the jobs in the list. First list is return code of successful commands, second those which raised exceptions, and third one those which were canceled.
Source
val iter :
jobs:int ->
command:('a -> unit OpamProcess.job) ->
?dry_run:bool ->
'a list ->
unit
Source
val map :
jobs:int ->
command:('a -> 'b OpamProcess.job) ->
?dry_run:bool ->
'a list ->
'b list
Source
val reduce :
jobs:int ->
command:('a -> 'b OpamProcess.job) ->
merge:('b -> 'b -> 'b) ->
nil:'b ->
?dry_run:bool ->
'a list ->
'b
More complex parallelism with dependency graphs
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>