packages feed

SafeSemaphore-0.4.1: SafeSemaphore.cabal

Name:                SafeSemaphore
Version:             0.4.1
Synopsis:            Much safer replacement for QSemN and QSem
Description:         This provides a much safer semaphore than the QSem in base.  Performance has not been compared.  In the source is a tests/TestKillSem.hs executable (run by cabal test) that shows the problem with QSem.
Homepage:            http://hackage.haskell.org/package/SafeSemaphore
License:             BSD3
License-file:        LICENSE
Author:              Chris Kuklewicz <haskell@list.mightyreason.com>
Maintainer:          Chris Kuklewicz <haskell@list.mightyreason.com>
Category:            Concurrency
Build-type:          Simple
Cabal-version:       >=1.8

Library
  Hs-Source-Dirs: src
  ghc-options:  -Wall -O2 -funbox-strict-fields
  Exposed-modules: Control.Concurrent.MSem
                   Control.Concurrent.MSemN
  Build-depends:  base < 5

Test-Suite TestSafeSemaphore
  type:          exitcode-stdio-1.0
  main-is:       tests/TestKillSem.hs
  build-depends: base < 5, SafeSemaphore, HUnit