This commit is contained in:
Simon Cruanes 2025-09-05 12:58:09 -04:00
parent 44edf60836
commit bf649f5348
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
3 changed files with 6 additions and 1942 deletions

View file

@ -1,4 +1,3 @@
open! Moonpool
module A = Atomic
module F = Moonpool_fib.Fiber
@ -160,7 +159,7 @@ let run ~pool ~pool_name () =
let fibs =
List.init 8 (fun idx -> F.spawn_top ~on:pool (fun () -> top idx))
in
List.iter F.wait_block_exn fibs;
List.iter F.await fibs;
Printf.printf "tracing complete\n";
Printf.printf "spans:\n";

File diff suppressed because it is too large Load diff

View file

@ -1,11 +1,8 @@
open! Moonpool
module M_lwt = Moonpool_lwt
let ( let@ ) = ( @@ )
let () =
(let@ pool = Ws_pool.with_ () in
T_fibers.Fls.run ~pool ~pool_name:"ws_pool" ());
(let@ pool = Fifo_pool.with_ () in
T_fibers.Fls.run ~pool ~pool_name:"fifo_pool" ());
(let@ runner = M_lwt.lwt_main in
T_fibers.Fls.run ~pool:runner ~pool_name:"lwt" ());
()