Michael Walker
a4ab84e132
Only define Semigroup Async instance for base >= 4.9.0.0.
2017-04-05 21:01:23 +01:00
Michael Walker
1532a75f78
Add replicateConcurrently{,_} to Async.
2017-04-05 20:57:27 +01:00
Michael Walker
92de856ed0
Add concurrently_, mapConcurrently_, and forConcurrently_.
2017-04-05 20:56:20 +01:00
Michael Walker
2e7aeac8b3
Add Semigroup and Monoid instances for Concurrently.
2017-04-05 20:54:21 +01:00
Michael Walker
71beaed0e5
Add uninterruptibleCancel to Async.
2017-04-05 20:46:00 +01:00
Michael Walker
9a7a883ab9
Update cancel
docs to mention blocking.
2017-04-05 20:36:53 +01:00
Felix Raimundo
ed08975e3f
Make cancel blocking
...
In the documentation of `cancel`, it is said to be blocking, waiting on
the cancelled `async` to die. It seems to me that is not the case.
This patch simply applies the code written by Simon Marlow in order
to wait for the termination of the `async`.
See:
https://hackage.haskell.org/package/async-2.1.1/docs/src/Control.Concurrent.Async.html#cancel
2017-04-05 16:44:08 +02:00
Michael Walker
463efd3f8d
Merge "async-dejafu" into "concurrency" + bump versions.
...
Closes #73 .
2017-03-03 22:06:09 +00:00
Michael Walker
373ba952ca
Sub "MVar" for "CVar" in a comment.
2016-08-25 16:56:58 +01:00
Michael Walker
2f0f51ceb6
Split concurrency modules into a separate package.
...
The new 'concurrency' package is starting at version 1.0.0.0 because the
API is already very mature (copied from base).
This breaks the dejafu-0.2 compatibility of async-dejafu.
Closes #51 .
2016-07-21 19:33:49 +01:00