Add back new working QSem and QSemN implementations (#7417)
authorSimon Marlow <marlowsd@gmail.com>
Mon, 10 Dec 2012 13:39:11 +0000 (13:39 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 10 Dec 2012 14:07:04 +0000 (14:07 +0000)
commitea3abf16eda97e573ee63fb08ce330d3aeceaeae
tree029ad1440b9df64def6f1dc4cd500ebf95629356
parent1bfecaf5122a96afc1fe68f009cbaa96b48e927a
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
Control/Concurrent/QSem.hs [new file with mode: 0644]
Control/Concurrent/QSemN.hs [new file with mode: 0644]
base.cabal
tests/all.T
tests/qsem001.hs [new file with mode: 0644]
tests/qsemn001.hs [new file with mode: 0644]