ConcurrentUtils: Concurrent utilities

[ concurrency, gpl, library ] [ Propose Tags ]

Release notes for version

  • Deprecated and removed the DataParallel module, after it performed disappointingly on my own benchmarks, and failed to achieve sufficient parallelism to justify it; deprecated and removed "deadlock" and Data.BellmanFord modules.

  • Refactored the Conc module and renamed as CPUMultiThreading; improved the implementation of thread pools. By breaking tasks into smaller chunks when putting them on the thread pools, it avoids occupying the thread pools with long running tasks, hopefully making performance predictable when different tasks contend for the same thread pool.

  • Added a handrolled(?TODO) semaphore implementation (semaphore) which uses CAS instructions in the common case to reduce latency


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS],,,,,,,
Dependencies array, assert, atl (>=15322.1), base (>= && <=5), containers, extra, list-extras, monad-loops (>=0.4 && <0.5), monads-tf, parallel, profunctors, strict (>=0.3.2), time (>=1.8 && <1.9), vector [details]
License GPL-2.0-only
Author James Candy
Category Concurrency
Uploaded by JamesCandy at 2020-05-04T18:10:16Z
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 6478 total (13 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-05-04 [all 1 reports]