The global-lock package

[Tags: bsd3, library]

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

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.


Dependenciesbase (>=3 && <5)
AuthorKeegan McAllister <>
MaintainerKeegan McAllister <>
CategorySystem, Concurrency
Source repositoryhead: git clone git://
Upload dateFri Nov 4 07:48:43 UTC 2011
Uploaded byKeeganMcAllister
Downloads143 total (10 in last 30 days)




Maintainers' corner

For package maintainers and hackage trustees