dev-haskell/atomic-primops (gentoo)

Search

Package Information

Description:
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. 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.
Homepage:
https://github.com/rrnewton/haskell-lockfree/wiki
License:
BSD

Versions

Version EAPI Keywords Slot
0.8.4 8 ~amd64 ~arm64 ~ppc64 ~riscv ~x86 0/0.8.4

Metadata

Description

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="project">
		<email>haskell@gentoo.org</email>
		<name>Gentoo Haskell</name>
	</maintainer>
	<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>
	<use>
		<flag name="debug">Enable extra internal checks.</flag>
	</use>
	<upstream>
		<remote-id type="github">rrnewton/haskell-lockfree</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

USE Flags

Flag Description 0.8.4
debug Enable extra internal checks.

Manifest

Type File Size Versions
DIST atomic-primops-0.8.4.tar.gz 33639 bytes 0.8.4
Unmatched Entries
Type File Size