basvandijk/concurrent-extra


Extra concurrency primitives

License: Other

Language: Haskell

Keywords: concurrency, haskell


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.

Project Statistics

Sourcerank 8
Repository Size 166 KB
Stars 11
Forks 5
Watchers 5
Open issues 5
Dependencies 0
Contributors 6
Tags 21
Created
Last updated
Last pushed

Top Contributors See all

Bas van Dijk Roel van Dijk Igor Pashev Mikhail Glushenkov Matthias Treydte Aditya Manthramurthy

Packages Referencing this Repo

concurrent-extra
The concurrent-extra package offers among other things the following selection of synchronisation...
Latest release 0.7.0.12 - Updated - 11 stars

Recent Tags See all

0.7.0.12 March 14, 2018
0.7.0.11 May 23, 2017
0.7.0.9 December 12, 2014
0.7.0.8 May 31, 2014
0.7.0.7 May 06, 2014
0.7.0.6 June 11, 2013
0.7.0.5 December 11, 2012
0.7.0.4 April 08, 2012
0.7.0.3 December 25, 2011
0.7.0.2 December 24, 2011
0.7.0.1 August 09, 2011
0.7 March 28, 2011
0.6.0.1 November 20, 2010
0.6 October 21, 2010
0.5.1 May 19, 2010

Something wrong with this page? Make a suggestion

Last synced: 2018-03-14 20:28:05 UTC

Login to resync this repository