summaryrefslogtreecommitdiff
blob: 29001c3441a1399ab3c471559a5452de386c54a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
	<maintainer type="project">
		<email>haskell@gentoo.org</email>
		<name>Gentoo Haskell</name>
	</maintainer>
	<use>
		<flag name="debug">Enable extra internal checks.</flag>
	</use>
	<longdescription>
		After GHC 7.4 a new `casMutVar#` primop became available, but it&#39;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 &quot;Tickets&quot;.
		
		Also, this library uses the &quot;foreign primop&quot; capability of GHC to
		add access to other variants that may be of
		interest, specifically, compare and swap inside an array.
		
		Note that as of GHC 7.8, the relevant primops have been included in GHC itself.
		This library is engineered to work pre- and post-GHC-7.8, while exposing the
		same interface.
	</longdescription>
</pkgmetadata>