mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-08 04:05:41 -05:00
smol comment on OCaml 4
This commit is contained in:
parent
a4db1e67be
commit
3388098fcc
1 changed files with 3 additions and 0 deletions
|
|
@ -23,6 +23,9 @@ In addition, some concurrency and parallelism primitives are provided:
|
||||||
provides the fork-join parallelism primitives
|
provides the fork-join parallelism primitives
|
||||||
to use within tasks running in the pool.
|
to use within tasks running in the pool.
|
||||||
|
|
||||||
|
On OCaml 4.xx, there is only one domain; all threads run on it, but the
|
||||||
|
pool abstraction is still useful to provide preemptive concurrency.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
The user can create several thread pools (implementing the interface `Runner.t`).
|
The user can create several thread pools (implementing the interface `Runner.t`).
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue