The concurrent-extra package
Offers a selection of synchronization primitives:
Lock: Enforce exclusive access to a resource. Also known as a binary semaphore.
RLock: A lock which can be acquired multiple times by the same thread. Also known as a reentrant mutex.
Event: Wake multiple threads by signaling an event.
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.
Inspired by the concurrency libraries of Java and Python.
Properties
| 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 |
|---|---|
| Dependencies | base (≥3 & <4.3), base-unicode-symbols (≥0.1.1 & <0.2), stm (≥2.1.1 & <2.2) |
| License | BSD3 |
| Copyright | (c) 2010 Bas van Dijk & Roel van Dijk |
| Author | Bas van Dijk <v.dijk.bas@gmail.com> Roel van Dijk <vandijk.roel@gmail.com> |
| Maintainer | Bas van Dijk <v.dijk.bas@gmail.com> Roel van Dijk <vandijk.roel@gmail.com> |
| Stability | experimental |
| Category | Concurrency |
| Executables | test-concurrent-extra |
| Upload date | Wed Feb 17 13:29:18 UTC 2010 |
| Uploaded by | RoelVanDijk |
| Built on | ghc-6.12 |
| Distributions | NixOS: 0.7.0.5 |
Modules
Downloads
- concurrent-extra-0.1.tar.gz (Cabal source package)
- package description (included in the package)