expose Runner

This commit is contained in:
Simon Cruanes 2023-07-10 22:48:04 -04:00
parent 6c73afbe5b
commit 1cb5342092
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
2 changed files with 3 additions and 1 deletions

View file

@ -5,8 +5,9 @@ let start_thread_on_some_domain f x =
module Atomic = Atomic_
module Blocking_queue = Bb_queue
module Chan = Chan
module Lock = Lock
module Fork_join = Fork_join
module Fut = Fut
module Lock = Lock
module Pool = Pool
module Runner = Runner
module Suspend_ = Suspend_

View file

@ -5,6 +5,7 @@
*)
module Pool = Pool
module Runner = Runner
val start_thread_on_some_domain : ('a -> unit) -> 'a -> Thread.t
(** Similar to {!Thread.create}, but it picks a background domain at random