The concurrent-extra package
The concurrent-extra package offers among other things the following selection of synchronisation primitives:
Broadcast: Wake multiple threads by broadcasting a value.
Event: Wake multiple threads by signalling an event.
Lock: Enforce exclusive access to a resource. Also known as a binary semaphore or mutex. The package additionally provides an alternative that works in the STM monad.
RLock: A lock which can be acquired multiple times by the same thread. Also known as a reentrant mutex.
ReadWriteLock: Multiple-reader, single-writer locks. Used to protect shared resources which may be concurrently read, but only sequentially written.
ReadWriteVar: Concurrent read, sequential write variables.
Please consult the API documentation of the individual modules for more detailed information.
This package was inspired by the concurrency libraries of Java and Python.
|Versions||0.1, 0.1.0.1, 0.2, 0.3, 0.3.1, 0.4, 0.5, 0.5.1, 0.6, 0.6.0.1, 0.7, 0.7.0.1, 0.7.0.2, 0.7.0.3, 0.7.0.4, 0.7.0.5, 0.7.0.6, 0.7.0.7, 0.7.0.8, 0.7.0.9|
|Change log||None available|
|Dependencies||base (>=3 && <4.6), base-unicode-symbols (>=0.1.1 && <0.3), stm (>=188.8.131.52 && <2.4), unbounded-delays (==0.1.*)|
|Copyright||(c) 2010-2011 Bas van Dijk & Roel van Dijk|
|Author||Bas van Dijk <email@example.com> Roel van Dijk <firstname.lastname@example.org>|
|Maintainer||Bas van Dijk <email@example.com> Roel van Dijk <firstname.lastname@example.org>|
|Source repository||head: git clone git://github.com/basvandijk/concurrent-extra.git|
|Uploaded||Sun Apr 8 13:34:12 UTC 2012 by BasVanDijk|
|Distributions||LTSHaskell:0.7.0.9, NixOS:0.7.0.9, Stackage:0.7.0.9|
|Downloads||5000 total (206 in last 30 days)|
|Status||Docs uploaded by user|
Build status unknown [no reports yet]
- concurrent-extra-0.7.0.4.tar.gz [browse] (Cabal source package)
- Package description (included in the package)
For package maintainers and hackage trustees