package opam-core
Core library for opam 2.4
Install
dune-project
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.1.tar.gz
md5=4eadb5cd5773cff17b19da3c3b70387d
sha512=ee1656715f7e03c36ed9aa0a158033bbdb977d3e9017efa0ceddcd7b073e9b587eb6340ddf1916d9da197c7f48766e569221e6d8e43314bf761326329e4be0a6
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)"
>