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.
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.
Besides these synchronisation primitives the package also provides:
Thread: Threads extended with the ability to wait for their termination.
Thread.Delay: Arbitrarily long thread delays.
Timeout: Wait arbitrarily long for an IO computation to finish.
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.
- No changelog available
|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|
|Dependencies||base (>=3 && <4.3), base-unicode-symbols (>=0.1.1 && <0.2)|
|Copyright||(c) 2010 Bas van Dijk & Roel van Dijk|
|Author||Bas van Dijk <firstname.lastname@example.org> Roel van Dijk <email@example.com>|
|Maintainer||Bas van Dijk <firstname.lastname@example.org> Roel van Dijk <email@example.com>|
|Source repository||head: darcs get http://code.haskell.org/concurrent-extra|
|Upload date||Tue Mar 9 11:19:27 UTC 2010|
- concurrent-extra-0.4.tar.gz [browse] (Cabal source package)
- Package description (included in the package)
For package maintainers and hackage trustees