pooled-io: Run jobs on a limited number of threads and support data dependencies
The motivation for this package was to run computations on multiple cores
that need to write intermediate results to disk.
The functions restrict the number of simultaneously running jobs
to a user given number or to the number of capabilities
the Haskell program was started with,
i.e. the number after the RTS option -N.
There some flavors of this functionality:
Control.Concurrent.PooledIO.Independent: run independent actions without results in parallel
Control.Concurrent.PooledIO.Final: run independent actions with a final result in parallel
Control.Concurrent.PooledIO.InOrder: run jobs in parallel with data dependencies like
make -j n
Related packages:
lazyio: interleave IO actions in a single thread
Modules
[Index]
Flags
Automatic Flags
| Name | Description | Default |
|---|---|---|
| buildexamples | Build example executables | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- pooled-io-0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
| Versions [RSS] | 0.0, 0.0.0.1, 0.0.1, 0.0.1.1, 0.0.1.2, 0.0.2, 0.0.2.1, 0.0.2.2, 0.0.2.3 |
|---|---|
| Dependencies | base (>=4 && <5), deepseq (>=1.3 && <1.4), pooled-io, transformers (>=0.2.2 && <0.4), unsafe (>=0.0 && <0.1), utility-ht (>=0.0.9 && <0.1) [details] |
| Tested with | ghc ==7.4.1 |
| License | BSD-3-Clause |
| Author | Henning Thielemann <haskell@henning-thielemann.de> |
| Maintainer | Henning Thielemann <haskell@henning-thielemann.de> |
| Uploaded | by HenningThielemann at 2014-01-15T19:55:26Z |
| Category | Parallelism |
| Home page | http://code.haskell.org/~thielema/pooled-io/ |
| Source repo | this: darcs get http://code.haskell.org/~thielema/pooled-io/ --tag 0.0 head: darcs get http://code.haskell.org/~thielema/pooled-io/ |
| Distributions | LTSHaskell:0.0.2.3, NixOS:0.0.2.3, Stackage:0.0.2.3 |
| Reverse Dependencies | 3 direct, 0 indirect [details] |
| Executables | pooled-io-demo |
| Downloads | 7037 total (47 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs available [build log] Successful builds reported [all 1 reports] |