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 are 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@
Additionally there is the module
"Control.Concurrent.PooledIO.Sequence"
that helps to serialize I/O actions from multiple threads.
It is certainly most useful in connection with
"Control.Concurrent.PooledIO.Independent".
Related packages:
* @lazyio@: interleave IO actions in a single thread
* @async@: start threads and wait for their results, forward exceptions,
but do not throttle concurrency with respect to number of available cores
* @parallel-tasks@:
* @parallel-io@:
* @threadPool@:
* @threads-pool@:
* @cio@:
* @Control-Engine@:
* @taskpool@, @async-pool@:
| version | uploaded | uploader | changes | |
|---|---|---|---|---|
| 0.0.2.5 | 2026-06-04 18:36 UTC | HenningThielemann | +3/−4 lines, 2 filesdep ~basePVP ok | |
| 0.0.2.4 | 2026-06-04 17:19 UTC | HenningThielemann | +4/−4 lines, 1 filesdep ~deepseqPVP ok | |
| 0.0.2.3 | 2023-02-15 09:48 UTC | HenningThielemann | 2 revisions | +10/−9 lines, 2 filesdep ~containersdep ~deepseqdep ~transformersPVP: major bump suggested |
| 0.0.2.2 | 2018-09-01 10:36 UTC | HenningThielemann | +3/−3 lines, 1 filesdep ~containersPVP ok | |
| 0.0.2.1 | 2016-02-11 17:01 UTC | HenningThielemann | +19/−6 lines, 2 filesdep ~transformersPVP: major bump suggested | |
| 0.0.2 | 2015-04-08 18:00 UTC | HenningThielemann | +89/−3 lines, 2 filesPVP ok | |
| 0.0.1.2 | 2015-04-08 17:09 UTC | HenningThielemann | +33/−32 lines, 3 filesdep +concurrent-splitPVP ok | |
| 0.0.1.1 | 2015-04-08 14:48 UTC | HenningThielemann | +3/−3 lines, 2 filesPVP ok | |
| 0.0.1 | 2015-04-08 13:43 UTC | HenningThielemann | +76/−8 lines, 4 filesdep +containersdep ~deepseqPVP ok | |
| 0.0.0.1 | 2014-07-01 14:25 UTC | HenningThielemann | +30/−15 lines, 5 filesdep ~transformers | |
| 0.0 | 2014-01-15 19:55 UTC | HenningThielemann | +368/−0 lines, 8 filesdep +basedep +deepseqdep +pooled-iosetup-changed |
Dependencies of pooled-io-0.0.2.5
base >=4.8 && <5 4.22.0.0 → 4.22.1.0
| 2026-12-01 12:38 UTC | 4.22.1.0 | +388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested |
| 2025-12-19 11:52 UTC | 4.22.0.0 | +886/−215 lines, 28 filesdep ~ghc-internalPVP ok |
| 2026-03-27 12:26 UTC | 4.21.2.0 | +10/−3 lines, 4 filesdep ~ghc-internalPVP ok |
| 2025-12-27 10:31 UTC | 4.21.1.0 | +17/−5 lines, 4 filesdep ~ghc-internalPVP ok |
| 2024-12-16 09:24 UTC | 4.21.0.0 | +1170/−396 lines, 39 filesdep ~ghc-internalPVP ok |
showing 5 of 61 versions
concurrent-split >=0.0 && <0.1 0.0.1 → 0.0.1.1
| 2018-10-22 11:41 UTC | 0.0.1.1 | +2/−3 lines, 1 filesPVP: major bump suggested |
| 2016-11-04 09:01 UTC | 0.0.1 | +11/−5 lines, 2 filesPVP: major bump suggested |
| 2016-11-01 08:17 UTC | 0.0.0.2 | +4/−4 lines, 1 filesPVP: major bump suggested |
| 2015-04-08 13:40 UTC | 0.0.0.1 | +14/−4 lines, 1 filesPVP ok |
| 2012-04-10 10:07 UTC | 0.0 | +172/−0 lines, 6 filesdep +basesetup-changed |
containers >=0.4 && <0.9 0.8 → 0.8.1
| 2026-10-04 06:08 UTC | 0.8.1 | +8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested |
| 2025-03-01 13:03 UTC | 0.8 | +8447/−7031 lines, 37 filesnew-uploaderPVP ok |
| 2023-09-27 12:15 UTC | 0.7 | +76/−33 lines, 3 filesPVP ok |
| 2023-09-28 04:21 UTC | 0.6.8 | +644/−184 lines, 17 filesdep ~basedep ~deepseqPVP: major bump suggested |
| 2023-02-01 03:11 UTC | 0.6.7 | +783/−229 lines, 20 filesPVP: major bump suggested |
showing 5 of 43 versions
deepseq >=1.3 && <1.7 1.5.2.0 → 1.6.0.0
| 2024-09-08 16:18 UTC | 1.6.0.0 | +5/−14 lines, 3 filesdep ~basePVP ok |
| 2025-06-14 22:25 UTC | 1.5.2.0 | +13/−4 lines, 3 filesPVP: major bump suggested |
| 2024-09-09 12:48 UTC | 1.5.1.0 | +69/−14 lines, 3 filesdep −arraydep ~basePVP: major bump suggested |
| 2023-07-27 19:32 UTC | 1.5.0.0 | +619/−532 lines, 5 filesdep ~basePVP ok |
| 2022-12-18 00:14 UTC | 1.4.8.1 | +34/−9 lines, 3 filesdep ~basePVP: major bump suggested |
showing 5 of 26 versions
transformers >=0.2.2 && <0.7 0.6.2.0 → 0.6.3.0
| 2026-01-12 12:42 UTC | 0.6.3.0 | +28/−1 lines, 4 filesPVP: major bump suggested |
| 2025-04-06 22:39 UTC | 0.6.2.0 | +41/−42 lines, 8 filesdep ~ghc-primPVP: major bump suggested |
| 2024-09-25 11:37 UTC | 0.6.1.2 | +70/−21 lines, 19 filesPVP: minor bump suggested |
| 2023-08-01 19:13 UTC | 0.6.1.1 | +281/−42 lines, 11 filesPVP ok |
| 2023-02-04 08:15 UTC | 0.6.1.0 | +64/−4 lines, 8 filesPVP ok |
showing 5 of 42 versions
unsafe >=0.0 && <0.1 (empty) → 0.0
| 2013-04-21 09:58 UTC | 0.0 | +162/−0 lines, 6 filesdep +basesetup-changed |
utility-ht >=0.0.9 && <0.1 0.0.17.1 → 0.0.17.2
| 2024-07-06 11:48 UTC | 0.0.17.2 | +10/−18 lines, 4 filesPVP ok |
| 2024-02-07 23:12 UTC | 0.0.17.1 | +1076/−781 lines, 15 filesPVP ok |
| 2023-04-28 10:51 UTC | 0.0.17 | +100/−28 lines, 6 filesdep ~doctest-libPVP ok |
| 2021-03-14 18:35 UTC | 0.0.16 | +1685/−685 lines, 31 filesdep +doctest-exitcode-stdiodep +doctest-libPVP ok |
| 2020-03-21 14:58 UTC | 0.0.15 | +68/−22 lines, 8 filesPVP: major bump suggested |
showing 5 of 21 versions
Reverse dependencies
6 packages depend on pooled-io