mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-05 19:00:33 -05:00
prepare for 0.7
This commit is contained in:
parent
d7c8df43d9
commit
0d8767f45f
11 changed files with 21 additions and 14 deletions
|
|
@ -1,4 +1,11 @@
|
|||
|
||||
# 0.7
|
||||
|
||||
- add `Moonpool_fiber.spawn_top_ignore`
|
||||
- add `moonpool-io`, based on `picos_io` (still very experimental)
|
||||
- move to picos as the foundation layer for concurrency primitives (#30)
|
||||
- move to `thread-local-storage` 0.2 with get/set API
|
||||
|
||||
# 0.6
|
||||
|
||||
- breaking: remove `Immediate_runner` (bug prone and didn't
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
(using mdx 0.2)
|
||||
|
||||
(name moonpool)
|
||||
(version 0.6)
|
||||
(version 0.7)
|
||||
(generate_opam_files true)
|
||||
(source
|
||||
(github c-cube/moonpool))
|
||||
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
(package
|
||||
(name moonpool-io)
|
||||
(synopsis "Async IO for moonpool, relying on picos")
|
||||
(synopsis "Async IO for moonpool, relying on picos (experimental)")
|
||||
(allow_empty) ; on < 5.0
|
||||
(depends
|
||||
(moonpool (= :version))
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.6"
|
||||
synopsis: "Async IO for moonpool, relying on picos"
|
||||
version: "0.7"
|
||||
synopsis: "Async IO for moonpool, relying on picos (experimental)"
|
||||
maintainer: ["Simon Cruanes"]
|
||||
authors: ["Simon Cruanes"]
|
||||
license: "MIT"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.6"
|
||||
version: "0.7"
|
||||
synopsis: "Event loop for moonpool based on Lwt-engine (experimental)"
|
||||
maintainer: ["Simon Cruanes"]
|
||||
authors: ["Simon Cruanes"]
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# This file is generated by dune, edit dune-project instead
|
||||
opam-version: "2.0"
|
||||
version: "0.6"
|
||||
version: "0.7"
|
||||
synopsis: "Pools of threads supported by a pool of domains"
|
||||
maintainer: ["Simon Cruanes"]
|
||||
authors: ["Simon Cruanes"]
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
(** Exception with backtrace.
|
||||
|
||||
Type changed @since NEXT_RELEASE
|
||||
Type changed @since 0.7
|
||||
|
||||
@since 0.6 *)
|
||||
|
||||
|
|
@ -26,4 +26,4 @@ type nonrec 'a result = ('a, t) result
|
|||
|
||||
val unwrap : 'a result -> 'a
|
||||
(** [unwrap (Ok x)] is [x], [unwrap (Error ebt)] re-raises [ebt].
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.7 *)
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ val on_result_ignore : _ t -> (Exn_bt.t option -> unit) -> unit
|
|||
when [fut] is set;
|
||||
or calls [f] immediately if [fut] is already set.
|
||||
It does not pass the result, only a success/error signal.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.7 *)
|
||||
|
||||
exception Already_fulfilled
|
||||
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ val spawn_on_current_runner : (unit -> 'a) -> 'a Fut.t
|
|||
|
||||
val get_current_runner : unit -> Runner.t option
|
||||
(** See {!Runner.get_current_runner}
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.7 *)
|
||||
|
||||
[@@@ifge 5.0]
|
||||
|
||||
|
|
@ -222,7 +222,7 @@ module Private : sig
|
|||
module Worker_loop_ = Worker_loop_
|
||||
(** Worker loop. This is useful to implement custom runners, it
|
||||
should run on each thread of the runner.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.7 *)
|
||||
|
||||
module Domain_ = Domain_
|
||||
(** Utils for domains *)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
(** Triggers from picos
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.7 *)
|
||||
|
||||
include Picos.Trigger
|
||||
|
||||
|
|
|
|||
|
|
@ -150,4 +150,4 @@ val spawn_ignore : ?protect:bool -> (unit -> _) -> unit
|
|||
|
||||
val spawn_top_ignore : on:Runner.t -> (unit -> _) -> unit
|
||||
(** Like {!spawn_top} but ignores the result.
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.7 *)
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
This lock is based on {!Picos_sync.Mutex} so it is [await]-safe.
|
||||
|
||||
@since NEXT_RELEASE *)
|
||||
@since 0.7 *)
|
||||
|
||||
type 'a t
|
||||
(** A value protected by a cooperative mutex *)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue