prepare for 0.2

This commit is contained in:
Simon Cruanes 2023-06-15 13:02:43 -04:00
parent b8588f2d65
commit 7707a7c1ce
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
3 changed files with 25 additions and 2 deletions

View file

@ -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

View file

@ -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))

View file

@ -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"]