The bits-extras package
Mostly wraps low-level bit operations provided by GCC builtins, which translate to specialized instructions where available.
Atomic operations include CAS (compare-and-swap), lock, fetch & add and similar primitives suitable for low-level shared-memory synchronization.
Primitives from the
Extras subpackage would be useful to have in the proper
Data.Bits package, although this would probably require broader support
across different compiler backends.
The C code dynamically links to
libgcc_s, which can cause problems in GHCi.
GHCi does not currently support sonames and tries to open
libgcc_s.so.1. A possible workaround for GHCi on a linux
ln -s /lib/libgcc_s.so.1 /lib/libgcc_s.so. Let me know about
any other solutions to this issue for GHCi. Regular GHC compilation uses the
system linker with soname support and does not run into this issue.
Relevant Hackage tickets:
|Versions||0.1.0, 0.1.1, 0.1.2, 0.1.3|
|Dependencies||base (>=4 && <6) [details]|
|Author||Gabriel Wicke <firstname.lastname@example.org>|
|Maintainer||Gabriel Wicke <email@example.com>|
|Category||Data, Concurrency, Foreign|
|Source repo||head: hg clone http://dev.wikidev.net/hg/bits-extras/|
|Uploaded||Sun Aug 29 07:56:49 UTC 2010 by GabrielWicke|
|Downloads||2428 total (37 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
|Status||Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI
For package maintainers and hackage trustees