Skip to content

Commit 467659a

Browse files
committed
[new release] moonpool (0.3)
CHANGES: - add `Fork_join` for parallelizing computations. This is only available on OCaml 5.x because it relies on effects. - add `Fork_join.{for_,map_array,map_list}` - add `Fork_join.all_{list,init}` - add `Pool.with_` - add a channel module - add `Runner`, change `Pool` to produce a `Runner.t` - add a `Lock` module - add support for domain-local-await when installed - add `Fut.await` for OCaml >= 5.0 - fix: Fork_join.both_ignore now has a more general type - expose `Suspend_` and its internal effect with an unstability alert. This is intended for implementors of `Runner` only. - port `cpp.ml` from containers, replace previous codegen with it. This will provide better flexibility for supporting multiple versions of OCaml in the future. - add `Pool.run_wait_block`; rename `Pool.run` into `Pool.run_async` - fix: in blocking queue, `pop` works on a non empty closed queue
1 parent b843160 commit 467659a

File tree

1 file changed

+44
-0
lines changed
  • packages/moonpool/moonpool.0.3

1 file changed

+44
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
opam-version: "2.0"
2+
synopsis: "Pools of threads supported by a pool of domains"
3+
maintainer: ["Simon Cruanes"]
4+
authors: ["Simon Cruanes"]
5+
license: "MIT"
6+
tags: ["thread" "pool" "domain"]
7+
homepage: "https://github.com/c-cube/moonpool"
8+
bug-reports: "https://github.com/c-cube/moonpool/issues"
9+
depends: [
10+
"ocaml" {>= "4.08"}
11+
"dune" {>= "3.0"}
12+
"either" {>= "1.0"}
13+
"trace" {with-test}
14+
"qcheck-core" {with-test & >= "0.19"}
15+
"odoc" {with-doc}
16+
"mdx" {>= "1.9.0" & with-test}
17+
]
18+
depopts: [
19+
"domain-local-await" {>= "0.2"}
20+
]
21+
build: [
22+
["dune" "subst"] {dev}
23+
[
24+
"dune"
25+
"build"
26+
"-p"
27+
name
28+
"-j"
29+
jobs
30+
"@install"
31+
"@runtest" {with-test}
32+
"@doc" {with-doc}
33+
]
34+
]
35+
dev-repo: "git+https://github.com/c-cube/moonpool.git"
36+
url {
37+
src:
38+
"https://github.com/c-cube/moonpool/releases/download/v0.3/moonpool-0.3.tbz"
39+
checksum: [
40+
"sha256=c021481a8dc146a1cff962f67e82bc92a38ba7ea606582d4ce05857eecf00057"
41+
"sha512=4dc2dee45aa462b48e19be1a96ddbc9f63db64643e473e710892392151af7c493720d35f6f25d254532c889aa902d5ef9a7287504b0bd1cfaa7bfb3ff9d0884f"
42+
]
43+
}
44+
x-commit-hash: "8e9628ac818b02745b13c2cc3866f8fd62edd41e"

0 commit comments

Comments
 (0)