diff options
Diffstat (limited to 'dev-haskell/concurrent-extra/metadata.xml')
-rw-r--r-- | dev-haskell/concurrent-extra/metadata.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-haskell/concurrent-extra/metadata.xml b/dev-haskell/concurrent-extra/metadata.xml new file mode 100644 index 000000000000..df4f0da831a9 --- /dev/null +++ b/dev-haskell/concurrent-extra/metadata.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>haskell</herd> + <longdescription> + 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. + </longdescription> + <upstream> + <remote-id type="github">basvandijk/concurrent-extra</remote-id> + </upstream> +</pkgmetadata> |