Skip to content

Commit

Permalink
Update to latest tracing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
patricoferris committed Jan 10, 2024
1 parent 801ee9f commit 946c10e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib_eio_js/browser/eio_browser.ml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ end = struct
let pop q = Lwt_dllist.take_opt_l q
end

module Ctf = Eio.Private.Ctf
module Trace = Eio.Private.Trace

type suspend = Suspend

Expand All @@ -60,11 +60,11 @@ module Suspended = struct
let tid t = Eio.Private.Fiber_context.tid t.fiber

let continue t v =
Ctf.note_switch (tid t);
Trace.fiber (tid t);
Effect.Deep.continue t.k v

let discontinue t ex =
Ctf.note_switch (tid t);
Trace.fiber (tid t);
Effect.Deep.discontinue t.k ex
end

Expand Down

0 comments on commit 946c10e

Please sign in to comment.