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
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

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

Recent Tags See all March 14, 2018 May 23, 2017 December 12, 2014 May 31, 2014 May 06, 2014 June 11, 2013 December 11, 2012 April 08, 2012 December 25, 2011 December 24, 2011 August 09, 2011
0.7 March 28, 2011 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