summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/atomic-primops/metadata.xml')
-rw-r--r--dev-haskell/atomic-primops/metadata.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-haskell/atomic-primops/metadata.xml b/dev-haskell/atomic-primops/metadata.xml
new file mode 100644
index 000000000000..2576b3c8008e
--- /dev/null
+++ b/dev-haskell/atomic-primops/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <longdescription>
+ After GHC 7.4 a new `casMutVar#` primop became available, but it's
+ difficult to use safely, because pointer equality is a highly
+ unstable property in Haskell. This library provides a safer method
+ based on the concept of "Tickets".
+
+ Also, this library uses the "foreign primop" capability of GHC to
+ add access to other variants that may be of
+ interest, specifically, compare and swap inside an array.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">rrnewton/haskell-lockfree</remote-id>
+ </upstream>
+</pkgmetadata>