ReviewOS

also looking at this

home-lang/home

fix(async): preserve cancellation and add revision-aware job gate

#914
Merged chris wants to merge feat/camera-jobs into main
6 files +217 -20
packages/async/src/async.zigmodified+4-0
Changes to packages/async/src/async.zig
@@ -16,6 +16,7 @@ pub const RawTask = task.RawTask;
1616pub const Runtime = runtime.Runtime;
1717
1818test {
19 _ = ;
1920 _ = future;
2021 _ = task;
2122 _ = runtime;
@@ -23,3 +24,6 @@ test {
2324 _ = work_stealing_deque;
2425 _ = parker;
2526}
27
28/// Revision-aware event job gate; caller owns synchronization.
29pub const CompletionGate = .Gate;