diff --git a/CHANGES.md b/CHANGES.md index 25af2e4d..56bbd607 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,27 @@ +# 0.2 + +- add `Fut.for_list` +- add `around_task` to `Pool.create` +- add `Pool.shutdown_without_waiting` +- add `Pool.num_tasks` +- add `Fut.is_done` +- add `Blocking_queue.size` +- add `Fut.for_array` to easily iterate on an array in parallel +- add `Fut.get_or_fail{,_exn}` + +- perf: limit number of work queues in pool +- perf: use multiple queues and non-blocking work-stealing from them, in pool + this improves the behavior for many small tasks by reducing contention on + each queue + +- fix: fut: actually run all map/bind callbacks in pool if provided + +# 0.1.1 + +- fix(fut): fix bug when calling `wait_list []` +- fix: join_array on arrays of length=1 had a bound error + # 0.1 initial release diff --git a/dune-project b/dune-project index f506fb8d..fcde2fa8 100644 --- a/dune-project +++ b/dune-project @@ -2,7 +2,7 @@ (using mdx 0.2) (name moonpool) -(version 0.1) +(version 0.2) (generate_opam_files true) (source (github c-cube/moonpool)) diff --git a/moonpool.opam b/moonpool.opam index 44d0121f..3458e407 100644 --- a/moonpool.opam +++ b/moonpool.opam @@ -1,6 +1,6 @@ # This file is generated by dune, edit dune-project instead opam-version: "2.0" -version: "0.1" +version: "0.2" synopsis: "Pools of threads supported by a pool of domains" maintainer: ["Simon Cruanes"] authors: ["Simon Cruanes"]