#3160: No exception safety in Control.Concurrent.QSem QSemN and SampleVar
---------------------------------+------------------------------------------
    Reporter:  ChrisKuklewicz    |        Owner:              
        Type:  bug               |       Status:  new         
    Priority:  normal            |    Milestone:  7.2.1       
   Component:  libraries/base    |      Version:  7.0.2       
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:  Unknown     
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------
Changes (by ChrisKuklewicz):

 * cc: ChrisKuklewicz (added)
  * version:  6.10.2 => 7.0.2


Comment:

 I have uploaded [http://hackage.haskell.org/package/SafeSemaphore
 SafeSemaphore] to hackage.  The MSem and MSemQ there can supersede QSem
 and QSemN.  The included TestKillSem.hs demonstrates the error in QSem &
 QSemN and the fix in MSem & MSemN.

 You can browse TestKillSem and its results online at the
 [http://haskell.org/haskellwiki/SafeConcurrent#TestKillSem haskell wiki
 page].

 The API for QSem is improved in MSem to handle negative numbers and is
 based on Integer instead of Int.

 The API for QSemN is greatly expanded in MSemN.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3160#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to