summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/092_async9.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/patches/092_async9.patch b/patches/patches/092_async9.patch
new file mode 100644
index 0000000..b7c8de9
--- /dev/null
+++ b/patches/patches/092_async9.patch
@@ -0,0 +1,11 @@
+--- exercises/092_async9.zig 2026-04-03 13:44:50.526780809 +0200
++++ answers/092_async9.zig 2026-04-03 13:44:54.957870294 +0200
+@@ -36,7 +36,7 @@
+ // Launch with a guaranteed separate thread.
+ // Which Io method guarantees true concurrency?
+ // (Hint: unlike io.async, this one can fail!)
+- var future = try io.???(compute, .{io});
++ var future = try io.concurrent(compute, .{io});
+
+ print("Main thread continues...\n", .{});
+