package devkit
Development kit - general purpose library
Install
dune-project
Dependency
Authors
Maintainers
Sources
devkit-1.3.tbz
sha256=dae965685dceed47ad8e9844f12fe707dafdf2c3bdd46d0431d5b4d1e7754b23
sha512=b94ade804d751db87434042bbaa821fa8e82e233820a76806f910e2da040094b137e88a3579911a1626930912622b064c776ddbcb6991fb7111021ebf6553fdc
doc/devkit.core/Devkit_core/Parallel/index.html
Module Devkit_core.Parallel
Source
Parallel
Invoke function in a forked process and return result
Launch function for each element of the list in the forked process. Does not wait for children to finish - returns immediately.
Source
val run_forks :
?wait_stop:int ->
?revive:bool ->
?wait:int ->
?workers:int ->
('a -> unit) ->
'a list ->
unit
Launch forks for each element of the list and wait for all workers to finish. Pass exit signals to the workers, see Forks.stop
for the description of wait_stop
parameter.
Same as run_forks
but do not fork for one worker
Process list with specified number of workers. Pass exit signals to the workers, see Forks.stop
for the description of wait_stop
parameter.
Source
val run_workers_enum :
int ->
?wait_stop:int ->
('a -> 'b) ->
('b -> unit) ->
'a Enum.t ->
unit
Process enum with specified number of workers, collect results via provided callback. Pass exit signals to the workers, see Forks.stop
for the description of wait_stop
parameter.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>