@hackage concurrent-extra0.1
Extra concurrency primitives
Categories
License
BSD-3-Clause
Maintainer
Bas van Dijk <v.dijk.bas@gmail.com> Roel van Dijk <vandijk.roel@gmail.com>
Links
- Documentation
- No source repository
- Security
Versions
Installation
CustomDependencies (3)
- base >=3 && <4.3
- base-unicode-symbols >=0.1.1 && <0.2
- stm >=2.1.1 && <2.2 Show all…
Dependents (31)
@hackage/fb-util, @hackage/Villefort, @hackage/haskoin-node, @hackage/bdcs-api, @hackage/HDBC-odbc, @hackage/threads, Show all…
Package Flags
test
(off by default)
Build the testing suite
hpc
(off by default)
Enable program coverage on test executable
nolib
(off by default)
Don't build the library
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.