[commit: base] master: Add back new working QSem and QSemN implementations (#7417) (ea3abf1)

Simon Marlow marlowsd at gmail.com
Mon Dec 10 15:15:24 CET 2012


Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/ea3abf16eda97e573ee63fb08ce330d3aeceaeae

>---------------------------------------------------------------

commit ea3abf16eda97e573ee63fb08ce330d3aeceaeae
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Mon Dec 10 13:39:11 2012 +0000

    Add back new working QSem and QSemN implementations (#7417)
    
    We decided not to break existing users without providing an easy
    migration path.  For the time being I've made these implementations,
    which fix the bugs in the old versions and perform reasonably well.
    
    In due course we should move the concurrency functionality, including
    these modules, out of base and into a separate package.

 Control/Concurrent.hs       |    4 +
 Control/Concurrent/QSem.hs  |  133 +++++++++++++++++++++++++++++++++++++++++++
 Control/Concurrent/QSemN.hs |  127 +++++++++++++++++++++++++++++++++++++++++
 base.cabal                  |    2 +
 tests/all.T                 |    3 +
 tests/qsem001.hs            |   88 ++++++++++++++++++++++++++++
 tests/qsemn001.hs           |  110 +++++++++++++++++++++++++++++++++++
 7 files changed, 467 insertions(+), 0 deletions(-)


Diff suppressed because of size. To see it, use:

    git show ea3abf16eda97e573ee63fb08ce330d3aeceaeae



More information about the Cvs-libraries mailing list