parallel-io: Combinators for executing IO actions in parallel on a thread pool.
This package provides combinators for sequencing IO actions onto a thread pool. The thread pool is guaranteed to contain no more unblocked threads than a user-specified upper limit, thus minimizing contention.
Furthermore, the parallel combinators can be used reentrantly - your parallel actions can spawn more parallel actions - without violating this property of the thread pool.
The package is inspired by the thread http://thread.gmane.org/gmane.comp.lang.haskell.cafe/56499/focus=56521. Thanks to Neil Mitchell and Bulat Ziganshin for some of the code this package is based on.
Modules
[Index] [Quick Jump]
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
benchmark | Build the benchmarking tool | Disabled |
fuzz | Build the fuzzing tool for discovering deadlocks | Disabled |
tests | Build the test runner | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- parallel-io-0.3.5.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.2, 0.2.1, 0.2.1.1, 0.2.2, 0.3.0, 0.3.0.1, 0.3.0.2, 0.3.1, 0.3.2, 0.3.2.1, 0.3.2.2, 0.3.3, 0.3.4, 0.3.5 |
---|---|
Dependencies | base (>=4 && <5), containers (>=0.2 && <0.9), extensible-exceptions (>0.1.0.1), HUnit (>=1.2 && <2), random (>=1.0 && <1.4), test-framework (>=0.1.1), test-framework-hunit (>=0.1.1), time (>=1) [details] |
License | BSD-3-Clause |
Author | Max Bolingbroke <[email protected]>, Neil Mitchell <[email protected]>, Bulat Ziganshin <[email protected]> |
Maintainer | Max Bolingbroke <[email protected]> |
Revised | Revision 1 made by Bodigrim at 2025-05-18T11:19:48Z |
Category | Concurrency |
Home page | http://batterseapower.github.com/parallel-io |
Uploaded | by MaxBolingbroke at 2021-06-03T20:10:50Z |
Distributions | LTSHaskell:0.3.5, NixOS:0.3.5, Stackage:0.3.5 |
Reverse Dependencies | 25 direct, 135 indirect [details] |
Executables | fuzz-seq, fuzz, tests, benchmark |
Downloads | 34632 total (23 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2021-06-03 [all 1 reports] |