@hackage ConcurrentUtils0.5.0.0
Concurrent utilities
Categories
License
GPL-2.0-only
Maintainer
jacinablackbox@yahoo.com
Links
- Documentation
- No source repository
- Security
Versions
Installation
Dependencies (14)
Dependents (2)
@hackage/acme-everything, @hackage/reactivity
Release notes for version 0.5.0.0:
Deprecated and removed the
DataParallelmodule, 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