Michael Walker
32f6887a1b
Add tests for throwing exceptions to the main thread.
...
Closes #74 .
2017-03-04 05:28:29 +00:00
Michael Walker
12335e0090
Add tryReadMVar
to MonadConc
and dejafu.
...
Also pins the version of "concurrency" that dejafu depends on down to
the third digit, as additions to `MonadConc` will break dejafu.
Closes #62 .
2017-02-20 23:42:08 +00:00
Michael Walker
8fd3e5900b
Messy implementation of subconcurrency
.
...
This makes `stepThread` messier, and doesn't actually prevent nesting
currently - although it does prevent usage when there are multiple
threads, which may be enough.
2017-02-02 12:26:40 +00:00
Michael Walker
a1122405fe
Less restrictive module exports in tests
2016-03-31 18:16:09 +01:00
Michael Walker
5b4911032e
Rename modifyCRef to atomicModifyCRef
2016-03-26 06:37:27 +00:00
Michael Walker
a4c2a1c235
Rename CVar -> MVar
2016-03-23 03:36:07 +00:00
Michael Walker
a1a78c7005
Rename CTVar -> TVar
2016-03-23 03:27:51 +00:00
Michael Walker
8b999595e3
Move modules to Control.Concurrent(.STM).Classy
2016-03-23 03:13:56 +00:00
Michael Walker
cae5704ac9
Enable building tests with GHC <7.10
2015-12-01 05:13:47 +00:00
Michael Walker
37a5886c83
Make a separate package for the test suite. Closes #31 .
2015-12-01 05:07:56 +00:00