mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-06 03:05:30 -05:00
use exn_bt, not picos.exn_bt
This commit is contained in:
parent
40ed8f3cd2
commit
8712fc5b51
6 changed files with 5 additions and 8 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
moonpool.private
|
moonpool.private
|
||||||
(re_export thread-local-storage)
|
(re_export thread-local-storage)
|
||||||
moonpool.dpool
|
moonpool.dpool
|
||||||
(re_export picos.exn_bt)
|
(re_export exn_bt)
|
||||||
(re_export picos))
|
(re_export picos))
|
||||||
(flags :standard -open Moonpool_private)
|
(flags :standard -open Moonpool_private)
|
||||||
(private_modules util_pool_)
|
(private_modules util_pool_)
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ module Blocking_queue = Bb_queue
|
||||||
module Background_thread = Background_thread
|
module Background_thread = Background_thread
|
||||||
module Bounded_queue = Bounded_queue
|
module Bounded_queue = Bounded_queue
|
||||||
module Chan = Chan
|
module Chan = Chan
|
||||||
module Exn_bt = Exn_bt
|
module Exn_bt = Moonpool_exn_bt
|
||||||
module Fifo_pool = Fifo_pool
|
module Fifo_pool = Fifo_pool
|
||||||
module Fut = Fut
|
module Fut = Fut
|
||||||
module Lock = Lock
|
module Lock = Lock
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ module Immediate_runner : sig end
|
||||||
|
|
||||||
This is removed since 0.6, and replaced by {!Moonpool_fib.Main}. *)
|
This is removed since 0.6, and replaced by {!Moonpool_fib.Main}. *)
|
||||||
|
|
||||||
module Exn_bt = Exn_bt
|
module Exn_bt = Moonpool_exn_bt
|
||||||
|
|
||||||
exception Shutdown
|
exception Shutdown
|
||||||
(** Exception raised when trying to run tasks on
|
(** Exception raised when trying to run tasks on
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
include Picos_exn_bt
|
include Exn_bt
|
||||||
|
|
||||||
let[@inline] make exn bt : t = { exn; bt }
|
let[@inline] make exn bt : t = { exn; bt }
|
||||||
let[@inline] exn self = self.exn
|
let[@inline] exn self = self.exn
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
(** An exception bundled with a backtrace *)
|
(** An exception bundled with a backtrace *)
|
||||||
include module type of struct
|
include module type of struct
|
||||||
include Picos_exn_bt
|
include Exn_bt
|
||||||
end
|
end
|
||||||
|
|
||||||
val exn : t -> exn
|
val exn : t -> exn
|
||||||
|
|
@ -12,10 +12,7 @@ type runner = {
|
||||||
}
|
}
|
||||||
|
|
||||||
let k_cur_runner : runner TLS.t = TLS.create ()
|
let k_cur_runner : runner TLS.t = TLS.create ()
|
||||||
[@@alert todo "remove me asap, done via picos now"]
|
|
||||||
|
|
||||||
let k_cur_fiber : fiber TLS.t = TLS.create ()
|
let k_cur_fiber : fiber TLS.t = TLS.create ()
|
||||||
[@@alert todo "remove me asap, done via picos now"]
|
|
||||||
|
|
||||||
let _dummy_computation : Picos.Computation.packed =
|
let _dummy_computation : Picos.Computation.packed =
|
||||||
let c = Picos.Computation.create () in
|
let c = Picos.Computation.create () in
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue