Changelog for scheduler-2.0.1.0
scheduler
2.0.1
- Add
Eq1andShow1instances forResult - Add compatibility with older
primitive
2.0.0
- Switch type parameter of
Schedulerfrom monadmto state tokens. Which also means that constraints on many functions got tighter (i.e.MonadPrim,MonadPrimBase) - Remove
mtype parameter forSchedulerWS, since it can only work inIOlike monad anyways. - Switch type parameter of
Batchfrom monadmto state tokens. - Swap order of arguments for
replicateWorkfor consistency - Add
replicateWork_that is slightly more efficient thanreplicateWork
1.5.0
Despite that the major part of the version was bumped up, this release does not include any breaking changes, only improvements and additions.
-
Addition of a batch concept with
BacthIdwhich:- makes it possible for a
Schedulerto be "resumable" with the help ofwaitForBatch,waitForBatch_andwaitForBatchR - allows to cancel batches prematurely while keeping the results and not terminating the
scheduler itself. This can be done with new functions:
cancelBatchandcancelBatchWith. In order to check for batch statusgetCurrentBatchIdandhasBatchFinishedfunctions can be used.
- makes it possible for a
-
Addition of
GlobalSchedulerthat can be reused throughout the codebase, thus reducing initialization overhead.
1.4.2
- Add
withTrivialScheduler - Add
Resultsdata type as well as corresponding functions:withSchedulerRwithSchedulerWSRwithTrivialSchedulerR
1.4.1
- Add functions:
replicateWork
1.4.0
- Worker id has been promoted from
Intto anewtypewrapperWorkerId. - Addition of
SchedulerWSandWorkerStatesdata types. As well as the relatedMutexException - Functions that came along with stateful worker threads:
initWorkerStatesworkerStatesCompscheduleWorkStatescheduleWorkState_withSchedulerWSwithSchedulerWS_unwrapSchedulerWS
- Made internal modules accessible, but invisible.
1.3.0
- Make sure internal
Scheduleraccessor functions are no longer exported, they only cause breakage. - Make sure number of capabilities does not change through out the program execution, as
far as
scheduleris concerned.
1.2.0
- Addition of
scheduleWorkIdandscheduleWorkId_
1.1.0
- Add functions:
replicateConcurrentlyandreplicateConcurrently_ - Made
traverseConcurrently_lazy, thus making it possible to apply to infinite lists and other such foldables. - Fix
Monoidinstance forComp - Addition of
Par'pattern
1.0.0
Initial release.