concurrent-extra: Extra concurrency primitives
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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 theSTM
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.
[Skip to Readme]
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, 0.7.0.6, 0.7.0.7, 0.7.0.8, 0.7.0.9, 0.7.0.10, 0.7.0.11, 0.7.0.12, 0.7.0.12 |
---|---|
Change log | None available |
Dependencies | base (>=3 && <5), stm (>=2.1.2.1), unbounded-delays (>=0.1) [details] |
License | BSD-3-Clause |
Copyright | (c) 2010-2012 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> |
Category | Concurrency |
Home page | https://github.com/basvandijk/concurrent-extra |
Bug tracker | https://github.com/basvandijk/concurrent-extra/issues |
Source repo | head: git clone git://github.com/basvandijk/concurrent-extra.git |
Uploaded | by BasVanDijk at 2018-03-14T20:19:13Z |
Modules
[Index]
Downloads
- concurrent-extra-0.7.0.12.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees