mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-06 11:15:38 -05:00
prepare for 0.2
This commit is contained in:
parent
b8588f2d65
commit
7707a7c1ce
3 changed files with 25 additions and 2 deletions
23
CHANGES.md
23
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
|
# 0.1
|
||||||
|
|
||||||
initial release
|
initial release
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
(using mdx 0.2)
|
(using mdx 0.2)
|
||||||
|
|
||||||
(name moonpool)
|
(name moonpool)
|
||||||
(version 0.1)
|
(version 0.2)
|
||||||
(generate_opam_files true)
|
(generate_opam_files true)
|
||||||
(source
|
(source
|
||||||
(github c-cube/moonpool))
|
(github c-cube/moonpool))
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# This file is generated by dune, edit dune-project instead
|
# This file is generated by dune, edit dune-project instead
|
||||||
opam-version: "2.0"
|
opam-version: "2.0"
|
||||||
version: "0.1"
|
version: "0.2"
|
||||||
synopsis: "Pools of threads supported by a pool of domains"
|
synopsis: "Pools of threads supported by a pool of domains"
|
||||||
maintainer: ["Simon Cruanes"]
|
maintainer: ["Simon Cruanes"]
|
||||||
authors: ["Simon Cruanes"]
|
authors: ["Simon Cruanes"]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue