Commit Graph

67 Commits

Author SHA1 Message Date
Michael Walker
0e00f8aec3 Prepare releases 2018-03-28 19:05:15 +01:00
Michael Walker
d9fb307356 Move fork, forkOn & forkOS out of MonadConc
Closes #132
2018-03-25 10:28:20 +01:00
Michael Walker
0486ac86c5 Add forkOSWithUnmask(N) 2018-03-25 10:28:20 +01:00
Michael Walker
35c2069b89 Drop GHC 7.10 support 2018-03-25 10:28:20 +01:00
Michael Walker
2d8127774f Fix HLint errors 2018-03-24 23:14:04 +00:00
Michael Walker
34f6358e86 Remove mentions of docs.barrucadu.co.uk 2018-03-11 22:49:51 +00:00
Michael Walker
426fc4e1a1 Prepare concurrency, dejafu, hunit-dejafu releases 2018-03-11 20:19:04 +00:00
Michael Walker
cf6fa780c4 Bump exceptions upper bound in concurrency 2018-03-11 20:05:58 +00:00
Michael Walker
75a02b90da Prepare release of concurrency, dejafu, and hunit-dejafu 2018-02-26 20:10:53 +00:00
Michael Walker
020933751c Bump upper bound of exceptions for concurrency 2018-02-26 19:57:26 +00:00
Michael Walker
06e1155de8 Fix incorrect changelog date of concurrency-1.4.0.0 2018-02-18 10:41:24 +00:00
Michael Walker
25ba98509f Rewrite concurrency changelog 2018-02-15 21:06:54 +00:00
Michael Walker
5237effb06 concurrency-1.4.0.0 / dejafu-1.0.0.1 joint release 2018-01-19 17:13:45 +00:00
Michael Walker
7a13b106d9 Add note about instance deriving to Monad{Conc,STM} docs 2018-01-19 16:45:38 +00:00
Michael Walker
d62f0c24d8 Make it possible to derive MonadConc instances 2018-01-19 16:30:04 +00:00
Michael Walker
1fc895cbd5 concurrency-1.3.0.0 release 2017-12-23 13:13:47 +00:00
Michael Walker
f310c60bc5 Update copyright years 2017-12-13 07:24:18 +00:00
Michael Walker
5ee2590f0e Rework docs
Closes #146
Closes #147
Closes #156
2017-12-12 14:07:22 +00:00
Michael Walker
3348c4705c Add bound-thread async function variants 2017-12-12 14:06:59 +00:00
Michael Walker
45256193c0 Implement bound threads
This also adds forkOS(N) and isCurrentThreadBound to MonadConc, a
breaking change.

Note: forkOSWithUnmask(N) is NOT added to MonadConc, as it isn't
supported in base-4.8 (GHC 7.10).  See #132 for the action on this.

A bound thread under test gets a dedicated worker thread, which is
forked bound using the underlying MonadConc.  This worker is used for
all lifted actions, with execution as normal otherwise.
2017-12-12 14:06:59 +00:00
Michael Walker
99cae72b42 Pick version numbers for next-supermajor release 2017-12-12 14:06:59 +00:00
Michael Walker
e2a8882764 concurrency-1.2.3.0 release 2017-11-30 21:25:51 +00:00
Michael Walker
e408dcb40b Add named-thread variants of the 'withAsync*' functions
Closes #148
2017-11-30 21:22:46 +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
9cb33bf431 Remove redundant bracket 2017-10-20 14:30:42 +01:00
Michael Walker
df38c44339 Fix docs error on tryReadMVar 2017-10-15 11:22:47 +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
Lars Kuhtz
73d14430d2 [issue 134] implement forkWithUnmask in MonadConc instance for IO 2017-10-13 12:31:13 -07: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
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
Gaël Deest
79ccec2145 Named versions of async*. 2017-10-02 10:28:15 +02:00
Michael Walker
356e13018d Remove some unnecessary imports 2017-09-26 15:13:49 +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
b0f6aa5c7e Adjust changelog format 2017-08-19 16:38:39 +01:00
Michael Walker
a0a5a493d5 Bump versions for release 2017-06-07 17:09:01 +01:00
Michael Walker
5f9ad29b1b Include READMEs in cabal sdists.
Closes #79.
2017-04-08 10:30:58 +01:00
Michael Walker
cc27e03d6d Use stylish-haskell to format import lists. 2017-04-08 05:42:25 +01:00
Michael Walker
d934222fe7 Implement isEmptyMVar in terms of tryRead, not tryTake. 2017-04-08 05:42:25 +01:00
Michael Walker
5cd55a1921 Add an HLint2 config file & fix warnings. 2017-04-08 05:42:25 +01:00
Michael Walker
de8ced69a6 Fiddle with changelog format. 2017-04-07 20:05:11 +01:00
Michael Walker
60f771d50e Write changelogs. 2017-04-07 18:16:30 +01:00
Michael Walker
8d23a2715e Bump concurrency to 1.1.2.0 and dejafu to 0.5.1.3. 2017-04-05 21:41:22 +01:00
Michael Walker
7cd0c665fa Add Haddock "@since" comments to everything in concurrency. 2017-04-05 21:25:02 +01:00
Michael Walker
a4ab84e132 Only define Semigroup Async instance for base >= 4.9.0.0. 2017-04-05 21:01:23 +01:00