Path to this page:
./
devel/hs-atomic-primops,
Safe approach to CAS and other atomic ops in Haskell
Branch: CURRENT,
Version: 0.8.7nb1,
Package name: hs-atomic-primops-0.8.7nb1,
Maintainer: pkgsrc-usersAfter 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.
Master sites:
Filesize: 33.342 KB
Version history: (Expand)
- (2024-05-09) Updated to version: hs-atomic-primops-0.8.7nb1
- (2024-04-29) Updated to version: hs-atomic-primops-0.8.7
- (2023-11-02) Updated to version: hs-atomic-primops-0.8.4nb1
- (2023-10-31) Package added to pkgsrc.se, version hs-atomic-primops-0.8.4 (created)
CVS history: (Expand)
2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137) |
Log message:
Recursive revbump after changing the default Haskell compiler
|
2024-04-29 10:56:01 by Masatake Daimon | Files touched by this commit (4) |
Log message:
devel/hs-atomic-primops: Update to 0.8.7
0.8.7 [2024.04.20]
Fix typos in the foreign imports introduced in atomic-primops-0.8.5 and
atomic-primops-0.8.6, which would lead to linker errors when building
executables with GHC 9.10.
0.8.6 [2024.04.16]
Use prim, not ccall, for the foreign imports used when building the
library with GHC 9.10 or later. This fixes a GHC 9.10-specific build
issue.
0.8.5 [2024.02.17]
Allow building with GHC 9.10.
|
2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141) |
Log message:
Revbump all Haskell after updating lang/ghc96
|
2023-10-31 17:27:46 by Masatake Daimon | Files touched by this commit (5) |
Log message:
devel/hs-atomic-primops: import hs-atomic-primops-0.8.4
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.
|