global-lock: A global lock implemented without unsafePerformIO
This library provides a single global lock. You can use it, for example, to protect a thread-unsafe C library.
The implementation does not use
unsafePerformIO. It should be safe
against GHC bugs such as http://hackage.haskell.org/trac/ghc/ticket/5558.
You can use this library as-is, or as a template for including a similar lock in your own Haskell project.
This library requires that the C compiler invoked by Cabal is GCC 4.1 or newer.
[Skip to Readme]
|Versions [RSS] [faq]||0.1|
|Dependencies||base (>=3 && <5) [details]|
|Author||Keegan McAllister <firstname.lastname@example.org>|
|Maintainer||Keegan McAllister <email@example.com>|
|Source repo||head: git clone git://github.com/kmcallister/global-lock|
|Uploaded||by KeeganMcAllister at 2011-11-04T07:48:43Z|
|Downloads||1378 total (13 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
Docs uploaded by user
Build status unknown [no reports yet]
For package maintainers and hackage trustees
- No Candidates