Skip to content

Commit 9eb71b8

Browse files
authored
Merge pull request #111 from ocaml-multicore/prepare-release
Prepare release
2 parents 14fe8fd + c449e79 commit 9eb71b8

File tree

5 files changed

+33
-18
lines changed

5 files changed

+33
-18
lines changed

CHANGES.md

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,22 @@
22

33
* `parallel_find` function that stops early (#129, #130)
44

5-
## v0.5.0
5+
## 0.5.1
6+
7+
* Add parallel_find (#90, @gasche)
8+
* Update CI (#93, @Sudha247)
9+
* Optimisation to work-stealing (#96, @art-w)
10+
* Improve docs presentation (#99, @metanivek)
11+
* Property based tests (#100, jmid)
12+
* Task: avoid double handler installation (#101, @gasche & @clef-men)
13+
* Fix a benign data-race in Chan reported by ocaml-tsan (#103, @art-w)
14+
* Dune, opam, and GitHub Actions fixes (#105, @MisterDA)
15+
* domain local await support (#107, @polytypic)
16+
* Windows run on GitHub Actions (#110, @Sudha247)
17+
* Adjust PBTs based on recommended_domain_count (#112, @jmid)
18+
* Test condition tweaks (#113, @jmid)
19+
20+
## 0.5.0
621

722
This release includes:
823

@@ -13,35 +28,35 @@ This release includes:
1328
* Breaking change: Rename `num_additional_domains` to `num_domains` for setup_pool
1429
* Documentation updates (#80, #81, #82)
1530

16-
## v0.4.2
31+
## 0.4.2
1732

1833
Includes Effect.eff -> Effect.t change from OCaml trunk. (#65)
1934

20-
## v0.4.1
35+
## 0.4.1
2136

2237
This release fixes compatibility with OCaml 5.00.0+trunk in #61. Breaks compatibility with older Multicore variants 4.12.0+domains and 4.12.0+domains+effects
2338

24-
## v0.4.0
39+
## 0.4.0
2540

2641
This release includes:
2742

2843
* Usage of effect handlers for task creation. This introduces a breaking change; all computations need to be enclosed in a Task.run function. See #51.
2944
* Multi_channel uses a per-channel domain-local key, removing the global key. #50
3045
* Bug fixes in parallel_scan. #60
3146

32-
## v0.3.2
47+
## 0.3.2
3348

3449
Corresponding updates for breaking changes introduced in ocaml-multicore/ocaml-multicore#704
3550

3651
* Updated with the new interface Domain.cpu_relax
3752
* Domain.timer_ticks replaced with Mirage clock.
3853

39-
## v0.3.1
54+
## 0.3.1
4055

4156
* #45 adds support for named pools. This is a breaking change with setup_pool taking an optional name parameter and an extra unit parameter.
4257
* A minor bug fix in parallel_for_reduce.
4358

44-
## v0.3.0
59+
## 0.3.0
4560

4661
This release includes:
4762

@@ -51,25 +66,25 @@ This release includes:
5166
* A move to using the Mutex & Condition modules for the implementation of Chan #24.
5267
* Various documentation and packaging improvements (#21, #27, #30, #32).
5368

54-
## v0.2.2
69+
## 0.2.2
5570

5671
Updates to:
5772

5873
* parallel_for to use new task distribution algorithm and allow default chunk_size (#16)
5974
* parallel_for_reduce to use new task distribution algorithm and allow default chunk_size parameter (#18)
6075

61-
## v0.2.1
76+
## 0.2.1
6277

6378
* `recv_poll` made non-allocating
6479
* Addition of parallel_scan #5
6580

66-
## v0.2.0
81+
## 0.2.0
6782

6883
* New Tasks library with support for async/await parallelism and parallel for loops.
6984
* Adds support for non-blocking Chan.send_poll and Chan.recv_poll.
7085

7186
Thanks to @gasche for API design discussions.
7287

73-
## v0.1.0
88+
## 0.1.0
7489

7590
Initial release

domainslib.opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This file is generated by dune, edit dune-project instead
22
opam-version: "2.0"
33
synopsis: "Parallel Structures over Domains for Multicore OCaml"
4-
maintainer: ["KC Sivaramakrishnan <kc@kcsrk.info>"]
4+
maintainer: ["KC Sivaramakrishnan <kc@kcsrk.info>" "Sudha Parimala"]
55
authors: ["KC Sivaramakrishnan <kc@kcsrk.info>"]
66
license: "ISC"
77
homepage: "https://github.com/ocaml-multicore/domainslib"
@@ -10,7 +10,7 @@ bug-reports: "https://github.com/ocaml-multicore/domainslib/issues"
1010
depends: [
1111
"dune" {>= "3.0"}
1212
"ocaml" {>= "5.0"}
13-
"lockfree" {>= "0.2.0"}
13+
"saturn" {>= "0.4.0"}
1414
"domain-local-await" {>= "0.1.0"}
1515
"kcas" {>= "0.3.0" & with-test}
1616
"mirage-clock-unix" {with-test & >= "4.2.0"}

dune-project

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
(source (github ocaml-multicore/domainslib))
77
(authors "KC Sivaramakrishnan <kc@kcsrk.info>")
8-
(maintainers "KC Sivaramakrishnan <kc@kcsrk.info>")
8+
(maintainers "KC Sivaramakrishnan <kc@kcsrk.info>" "Sudha Parimala")
99
(documentation "https://kayceesrk.github.io/domainslib/doc")
1010
(license "ISC")
1111

@@ -14,7 +14,7 @@
1414
(synopsis "Parallel Structures over Domains for Multicore OCaml")
1515
(depends
1616
(ocaml (>= "5.0"))
17-
(lockfree (>= "0.2.0"))
17+
(saturn (>= "0.4.0"))
1818
(domain-local-await (>= 0.1.0))
1919
(kcas (and (>= 0.3.0) :with-test))
2020
(mirage-clock-unix (and :with-test (>= "4.2.0")))

lib/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
(library
22
(name domainslib)
33
(public_name domainslib)
4-
(libraries lockfree domain-local-await))
4+
(libraries saturn domain-local-await))

lib/multi_channel.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1515
*)
1616

17-
module Ws_deque = Lockfree.Ws_deque.M
17+
module Ws_deque = Saturn.Work_stealing_deque.M
1818

1919
type mutex_condvar = {
2020
mutex: Mutex.t;
@@ -32,7 +32,7 @@ type dls_state = {
3232
mc: mutex_condvar;
3333
}
3434

35-
module Foreign_queue = Lockfree.Michael_scott_queue
35+
module Foreign_queue = Saturn.Queue
3636

3737
type 'a t = {
3838
channels: 'a Ws_deque.t array;

0 commit comments

Comments
 (0)