···77 | _ -> ()
88 and await () =
99 if Atomic.get state != `Released then
1010- Suspend.enter "domain-local-await" @@ fun ctx enqueue ->
1010+ Eio.Private.Suspend.enter "domain-local-await" @@ fun ctx enqueue ->
1111 let awaiting = `Awaiting enqueue in
1212 if Atomic.compare_and_set state `Init awaiting then (
1313- Cancel.Fiber_context.set_cancel_fn ctx (fun ex ->
1313+ Eio.Private.Fiber_context.set_cancel_fn ctx (fun ex ->
1414 if Atomic.compare_and_set state awaiting `Released then (
1515 enqueue (Error ex)
1616 )
···1919 | Fork = Fiber.Fork
2020 | Get_context = Cancel.Get_context
2121 end
2222-2323- module Dla = Dla
2422end
-4
vendor/opam/eio/lib_eio/core/eio__core.mli
···782782 val v : t
783783 (** Backends should use this for {!Eio.Stdenv.debug}. *)
784784 end
785785-786786- module Dla : sig
787787- val prepare_for_await : unit -> Domain_local_await.t
788788- end
789785end
+1-1
vendor/opam/eio/lib_eio/mock/backend.ml
···105105 let result = ref None in
106106 let `Exit_scheduler =
107107 Domain_local_await.using
108108- ~prepare_for_await:Eio.Private.Dla.prepare_for_await
108108+ ~prepare_for_await:Eio_utils.Dla.prepare_for_await
109109 ~while_running:(fun () ->
110110 fork ~new_fiber (fun () -> result := Some (main stdenv))) in
111111 match !result with
+1
vendor/opam/eio/lib_eio/utils/dla.mli
···11+val prepare_for_await : unit -> Domain_local_await.t