Commit Graph

781 Commits

Author SHA1 Message Date
Michael Walker
b0fb55a50e dejafu-0.9.0.3 release 2017-11-06 01:10:52 +00:00
Michael Walker
4437baf672 concurrency-1.2.2.0 release 2017-11-05 01:53:22 +00:00
Michael Walker
77c708014d Add IsConc and IsSTM types 2017-11-05 01:47:30 +00:00
Michael Walker
74b1c2c996 Use underlying monad for modifyCRefCAS_ transformer instances 2017-11-05 01:33:43 +00:00
Michael Walker
7d5df170e7 Do not pass memory model to dependency functions
This is sane because buffered writes can only happen if the MemType
isn't sequential consistency anyway.
2017-11-02 22:15:11 +00:00
Michael Walker
e780c69f80 Impose a dependency between commits and memory barriers
The previous behaviour was unsound.

Fixes #138
2017-11-02 21:37:11 +00:00
Michael Walker
c41734f251 Make write/commit dependency avoidance less widely applicable
It was probably unsound before.
2017-11-02 21:34:34 +00:00
Michael Walker
5a8d6c965b dejafu-0.9.0.2 release 2017-11-02 18:12:04 +00:00
Michael Walker
e7b18ffd50 tasty-dejafu-0.7.0.3 release 2017-11-02 18:08:43 +00:00
Michael Walker
42ea4ca2f2 tasty-dejafu: bump upper bound of tasty to 0.13 2017-11-02 18:07:26 +00:00
Michael Walker
bc72c9904b Make a fair bound of 0 meaningful 2017-11-01 20:06:31 +00:00
Michael Walker
424bdd2a6b Try alternative decisions if runnable prior is excluded by the bound 2017-11-01 14:52:42 +00:00
Michael Walker
30ab912210 Don't consider TVar reads dependent 2017-11-01 14:46:18 +00:00
Michael Walker
eb73600b39 Add property tests for memory ops 2017-10-31 17:17:27 +00:00
Michael Walker
29b1f28546 Add some property tests
Goes some way to solving #142, but it would be nice to have some for
the memory stuff.
2017-10-30 20:32:00 +00:00
Michael Walker
5bc3eb2773 Move isBlock/isBarrier optimisation into findBacktrackSteps
This makes dependent ==> dependent'
2017-10-30 19:24:24 +00:00
Michael Walker
03ca3c978e Remove an inconsistency in exception dependencies 2017-10-30 19:18:25 +00:00
Michael Walker
e0719a11ee Avoid a needless pessimism in dependent' 2017-10-30 19:18:25 +00:00
Michael Walker
18cd9d69ab Make dependent commutative 2017-10-30 19:18:25 +00:00
Michael Walker
e099b29597 Remove GHC <7.10 checks from dejafu-tests 2017-10-28 17:26:52 +01:00
Michael Walker
fa7d4bf445 Use MIN_TOOL_VERSION_ghc rather than __GLASGOW_HASKELL_ 2017-10-28 17:26:52 +01:00
Michael Walker
821293f629 Add a Jenkinsfile to build&deploy docs
https://docs.barrucadu.co.uk/$pkg/$branch
2017-10-28 17:26:52 +01:00
Michael Walker
6c31a3c929 dejafu-0.9.0.1 release 2017-10-28 12:24:01 +01:00
Michael Walker
a963822d6c Do not pop exception handlers twice
Fix #139 and #141
2017-10-28 12:21:41 +01:00
Michael Walker
3c0b2d81ff Give better errors from failing partial functions
They still shouldn't fail, but this will make tracking down issues
like #141 in the future easier
2017-10-28 12:17:49 +01:00
Michael Walker
5838a921b7 Add a test case exhibiting #139 2017-10-25 18:47:02 +01:00
Michael Walker
060e18acc5 Run dejafu-tests without ANSI escapes on travis 2017-10-20 17:53:06 +01:00
Michael Walker
888c371665 Add hlint and weeder to travis script 2017-10-20 15:19:35 +01:00
Michael Walker
9cb33bf431 Remove redundant bracket 2017-10-20 14:30:42 +01:00
Michael Walker
5ba93082b2 Put semigroups dependency behind a condition 2017-10-20 14:21:46 +01:00
Michael Walker
fe124e73d0 Remove redundant mtl dependency 2017-10-20 14:04:22 +01:00
Michael Walker
df38c44339 Fix docs error on tryReadMVar 2017-10-15 11:22:47 +01:00
Michael Walker
e7eaba7585 GitHub suggests the "good first issue" tag
> Label issues and pull requests for new contributors
>
> Now, GitHub will help potential first-time contributors discover
> issues labeled with help wanted or good first issue
2017-10-15 01:28:09 +01:00
Michael Walker
58ed2375db concurrency-1.2.1.2 release 2017-10-14 05:51:47 +01:00
Michael Walker
098ae62a5e Add a definition for forkOnWithUnmask to instance MonadConc IO
Related to #134
2017-10-14 05:48:50 +01:00
Michael Walker
534f9e5040 Merge pull request #135 from larskuhtz/issue/134/instance-monadconc-io
implement forkWithUnmask in MonadConc instance for IO
2017-10-14 05:47:28 +01:00
Lars Kuhtz
73d14430d2 [issue 134] implement forkWithUnmask in MonadConc instance for IO 2017-10-13 12:31:13 -07:00
Michael Walker
31c4b9606a dejafu-0.9.0.0 & {tasty,hunit}-dejafu-0.7.0.2 releases 2017-10-11 10:34:26 +01:00
Michael Walker
52e6f628c3 Test threadDelay in async tests 2017-10-11 10:25:03 +01:00
Michael Walker
228d3f588c Add a ThreadAction for threadDelay
Closes #131
2017-10-11 10:25:03 +01:00
Michael Walker
a571368125 Include the exception in UncaughtException
Closes #133
2017-10-11 10:10:48 +01:00
Michael Walker
2f4fe81473 Add is* functions for failure types 2017-10-11 10:07:27 +01:00
Michael Walker
c74caa7877 concurrency-1.2.1.1 release 2017-10-11 09:17:43 +01:00
Michael Walker
3ed2f1fca1 Name threads in IO with GHC.Conc.labelThread
Closes #127
2017-10-11 09:17:32 +01:00
Michael Walker
fe205dde76 Merge pull request #128 from henrymercer/fix-beginner-issues-link
Fix link to beginner friendly issues
2017-10-03 23:00:30 +01:00
Henry Mercer
864cda68b3 Fix beginner friendly link in overall README 2017-10-03 21:08:45 +01:00
Henry Mercer
80e9d95bd0 Fix link to beginner friendly issues
Fixes the link to beginner friendly issues in the Getting Started documentation
2017-10-03 20:56:15 +01:00
Michael Walker
81e7b3af24 concurrency-1.2.1.0 release 2017-10-02 12:37:45 +01:00
Michael Walker
728ea8a440 Reword some haddocks 2017-10-02 12:34:33 +01:00
Michael Walker
5f31fa4a61 Merge pull request #125 from gdeest/named-asyncs
Named versions of async*.
2017-10-02 12:32:12 +01:00