summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2025-11-01 15:46:31 +0100
committerChris Boesch <chrboesch@noreply.codeberg.org>2025-11-01 15:46:31 +0100
commit147ff302ecbc534af01004a016fc2c091cba8af4 (patch)
treeff5ad49c1677165b1acbcc23637cba3956d20b68 /patches
parentc45b9cd383b1463ca2e8cc93eb7ef38c4242d53a (diff)
fixed more changes due to new I/O API
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/104_threading.patch11
1 files changed, 8 insertions, 3 deletions
diff --git a/patches/patches/104_threading.patch b/patches/patches/104_threading.patch
index 1ca46c1..bd02cc0 100644
--- a/patches/patches/104_threading.patch
+++ b/patches/patches/104_threading.patch
@@ -1,6 +1,6 @@
---- exercises/104_threading.zig 2024-04-10 19:12:29.878856370 +0200
-+++ answers/104_threading.zig 2024-04-10 19:11:22.304265713 +0200
-@@ -97,12 +97,12 @@
+--- exercises/104_threading.zig 2025-11-01 15:37:31.299815135 +0100
++++ answers/104_threading.zig 2025-11-01 15:39:28.774262735 +0100
+@@ -97,16 +97,16 @@
defer handle.join();
// Second thread
@@ -15,3 +15,8 @@
// After the threads have been started,
// they run in parallel and we can still do some work in between.
+- std.posix.nanosleep(1, 0);
++ std.posix.nanosleep(4, 0);
+ std.debug.print("Some weird stuff, after starting the threads.\n", .{});
+ }
+ // After we have left the closed area, we wait until