Commit Graph

842 Commits

Author SHA1 Message Date
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
Gaël Deest
79ccec2145 Named versions of async*. 2017-10-02 10:28:15 +02:00
Michael Walker
31224ba918 Add link to dejafu-0.8.0.0 git tag 2017-09-26 17:50:11 +01:00
Michael Walker
6c4e64007f Release dejafu-0.8.0.0, {hunit,tasty}-dejafu-0.7.0.1 2017-09-26 17:22:08 +01:00
Michael Walker
37dc94ef35 Merge branch 'next-major' 2017-09-26 17:16:23 +01:00
Michael Walker
4040b41ef8 Include TVar ID in TNew action
Closes #80
2017-09-26 15:18:42 +01:00
Michael Walker
6705b7a595 Make Scheduler a newtype
Closes #122
2017-09-26 15:18:42 +01:00
Michael Walker
a6398e05ff Do not pass entire trace to schedulers
Closes #106
2017-09-26 15:18:42 +01:00
Michael Walker
c8dfdb1d92 Only include a single step of lookahead in traces
Closes #120
2017-09-26 15:18:42 +01:00
Michael Walker
356e13018d Remove some unnecessary imports 2017-09-26 15:13:49 +01:00
Michael Walker
f65ad41448 dejafu release 2017-09-26 08:55:20 +01:00
Michael Walker
e20854e76d Add some release pro tips 2017-09-26 08:41:54 +01:00
Michael Walker
2e5f79a2c4 Add a comment explaining AReturn 2017-09-26 00:25:41 +01:00
Michael Walker
eaa50d11b2 Fix a HLint warning 2017-09-25 19:00:58 +01:00
Michael Walker
ef3b34a098 Remove some unused imports 2017-09-25 18:59:49 +01:00
Michael Walker
049cdc50ff Correctly identify named threads which are started by pre-emption
Fixes #101
2017-09-25 18:57:34 +01:00
Michael Walker
0f6dba0190 Add CHANGELOG entry 2017-09-25 16:19:30 +01:00
Michael Walker
dddc4b62d6 Reset masking state when entering an exception handler
Fixes #118
2017-09-25 16:17:28 +01:00
Michael Walker
95dceb9670 Add a failing test case for #118 2017-09-25 16:03:49 +01:00
Michael Walker
c769662fa5 Move regression tests to a new module 2017-09-20 20:45:47 +01:00
Michael Walker
6bab3e883d Add some new async tests 2017-09-20 20:06:44 +01:00
Michael Walker
8636fe9708 Remove top-level definitions of individual tests 2017-09-20 20:06:44 +01:00
Michael Walker
fb13d62218 Give test cases more descriptive names 2017-09-20 20:06:44 +01:00
Michael Walker
58ab0e2c2f Use a typeclass to simplify test group definitions 2017-09-19 23:17:02 +01:00
Michael Walker
1fe6600d86 dejafu release 2017-09-16 20:54:04 +01:00
Michael Walker
a78a5e5b86 Make dejafu compatible with concurrency-1.2 2017-09-16 20:50:37 +01:00
Michael Walker
9de3ffd307 concurrency release 2017-09-16 20:50:37 +01:00
Michael Walker
5da1c7727c Require a MonadSTM to be a MonadPlus
Also pull orElse and retry out of the class.  This breaks
compatibility with dejafu.

Fixes #117
2017-09-16 20:50:37 +01:00
Michael Walker
aa232bdd48 Add Alternative and MonadPlus instances to STM
Fixes #116
2017-09-16 20:42:55 +01:00
Michael Walker
5c3e82403b Simplify travis set-up 2017-09-16 20:31:31 +01:00
Michael Walker
d948b45f97 Document the release process 2017-09-16 15:42:37 +01:00
Michael Walker
34f5da8712 Tutorial on adding a new primitive 2017-09-10 20:51:34 +01:00
Michael Walker
92d07da8de Remove a needless catMaybes 2017-09-09 22:13:38 +01:00
Michael Walker
4b10cc83ab Reduce allocation in SCT combined bounds checking 2017-09-09 22:13:38 +01:00
Michael Walker
490b772f57 Strictify and unpack ID ints for performance
This makes (==) vanish from the top CPU-using functions in the
profile, nice!
2017-09-09 22:13:38 +01:00
Michael Walker
051d810036 Only compare numbers in ID Eq instances 2017-09-09 22:13:38 +01:00
Michael Walker
cda7a7d2ea Remove some usage of fromJust 2017-09-09 15:25:03 +01:00
Michael Walker
caf138e623 Remove some usage of fromJust 2017-09-09 15:23:02 +01:00
Michael Walker
e2e078487e Slightly simplify weight assignment logic 2017-09-09 14:45:32 +01:00
Michael Walker
44181e6018 Release 2017-09-08 11:34:39 +01:00