Install this package:
emerge -a dev-haskell/atomic-primops
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask dev-haskell/atomic-primops
Or alternatively:
emerge --autounmask-write -a dev-haskell/atomic-primops
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.8.4 | 8 | ~amd64 ~arm64 ~ppc64 ~riscv ~x86 | 0/0.8.4 |
<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'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. </longdescription> <use> <flag name="debug">Enable extra internal checks.</flag> </use> <upstream> <remote-id type="github">rrnewton/haskell-lockfree</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p dev-haskell/atomic-primops |
euse -E <flag> -p dev-haskell/atomic-primops |
euse -D <flag> -p dev-haskell/atomic-primops
| Flag | Description | 0.8.4 |
|---|---|---|
| debug | Enable extra internal checks. | ✓ |
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | atomic-primops-0.8.4.tar.gz | 33639 bytes | 0.8.4 |
| Type | File | Size |
|---|