aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2012-06-04 02:58:41 +0800
committerpgj <pgj@FreeBSD.org>2012-06-04 02:58:41 +0800
commit20c87248173e86c87df5e40a851cc97d4e96c62a (patch)
tree724b94a8c6f0d02ef3043dedec85106c6fcbbf97 /lang
parent10bcfcea5fcdc6a653dc725b54fe702a0c2ff3b4 (diff)
downloadfreebsd-ports-gnome-20c87248173e86c87df5e40a851cc97d4e96c62a.tar.gz
freebsd-ports-gnome-20c87248173e86c87df5e40a851cc97d4e96c62a.tar.zst
freebsd-ports-gnome-20c87248173e86c87df5e40a851cc97d4e96c62a.zip
Atomic operations including CAS (compare-and-swap), fetch & add and variants
suitable for low-level shared-memory synchronization. The implementation is using GCC's builtin atomic operations (available in GCC >= 4) in C wrappers called through the FFI. WWW: http://hackage.haskell.org/package/bits-atomic Obtained from: FreeBSD Haskell
Diffstat (limited to 'lang')
-rw-r--r--lang/ghc/bsd.hackage.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk
index 285f3b1155d8..8791fa1903f1 100644
--- a/lang/ghc/bsd.hackage.mk
+++ b/lang/ghc/bsd.hackage.mk
@@ -31,6 +31,7 @@ base16-bytestring_port= devel/hs-base16-bytestring
base64-bytestring_port= devel/hs-base64-bytestring
binary_port= devel/hs-binary
bio_port= science/hs-bio
+bits-atomic_port= devel/hs-bits-atomic
blaze-builder_port= devel/hs-blaze-builder
blaze-builder-enumerator_port= devel/hs-blaze-builder-enumerator
blaze-html_port= textproc/hs-blaze-html