@hackage global-lock0.1

A global lock implemented without unsafePerformIO

global-lock provides a single global lock for Haskell code, implemented without unsafePerformIO. You can use this, for example, to protect a thread-unsafe C library. global-lock is usable as-is, or as a template for including a similar lock in your own Haskell project.

Documentation is hosted at http://hackage.haskell.org/package/global-lock

To build the documentation yourself, run

$ cabal configure && cabal haddock --hyperlink-source

This will produce HTML documentation under dist/doc/html/global-lock