The latest version of concurrent-extra is 0.7.0.12-0.

concurrent-extra

Version 0.5 revision 0 uploaded by BasVanDijk.

Package meta

Synopsis
Extra concurrency primitives
Description

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.

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

Besides these synchronisation primitives the package also provides:

  • Thread.Delay: Arbitrarily long thread delays.

  • Timeout: Wait arbitrarily long for an IO computation to finish.

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.

Author
Bas van Dijk <v.dijk.bas@gmail.com> Roel van Dijk <vandijk.roel@gmail.com>
Bug reports
n/a
Category
Concurrency
Copyright
(c) 2010 Bas van Dijk & Roel van Dijk
Homepage
n/a
Maintainer
Bas van Dijk <v.dijk.bas@gmail.com> Roel van Dijk <vandijk.roel@gmail.com>
Package URL
n/a
Stability
experimental

Components