diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2026-04-06 19:38:19 +0200 |
|---|---|---|
| committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2026-04-06 19:38:19 +0200 |
| commit | 55a4841b07ac5d20fdd9f272fdbdd1875a7b4431 (patch) | |
| tree | dbba9146104ed41ecb49d7152bb90822b17c29b1 /patches | |
| parent | 09bae6a70e51fc1313297bc98c67c252e8c32d3e (diff) | |
improvements for async-io
Diffstat (limited to 'patches')
| -rw-r--r-- | patches/patches/094_async10.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/patches/094_async10.patch b/patches/patches/094_async10.patch index ae0d26d..e721485 100644 --- a/patches/patches/094_async10.patch +++ b/patches/patches/094_async10.patch @@ -1,10 +1,10 @@ ---- exercises/094_async10.zig 2026-04-03 14:25:16.600025924 +0200 -+++ answers/094_async10.zig 2026-04-03 14:24:56.192615893 +0200 -@@ -50,8 +50,8 @@ +--- exercises/094_async10.zig 2026-04-06 19:36:59.873966580 +0200 ++++ answers/094_async10.zig 2026-04-06 19:37:12.416216872 +0200 +@@ -51,8 +51,8 @@ // Protect this section from cancellation. // What method swaps the cancel protection state? -- const old = io.???(. blocked); +- const old = io.???(.blocked); - defer _ = io.???(old); + const old = io.swapCancelProtection(.blocked); + defer _ = io.swapCancelProtection(old); |
