summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2025-11-01 15:59:07 +0100
committerChris Boesch <chrboesch@noreply.codeberg.org>2025-11-01 15:59:07 +0100
commit850700e68eed219d5c91826952dee599627f8540 (patch)
treef2a457ec1b35990403e15f76a2a9e7892969ea08 /patches
parent6c8f4ef507b72bc1dd6d3c4dfeb904a88938b578 (diff)
pause slightly extended for faster computers
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/104_threading.patch11
1 files changed, 3 insertions, 8 deletions
diff --git a/patches/patches/104_threading.patch b/patches/patches/104_threading.patch
index bd02cc0..1009a3a 100644
--- a/patches/patches/104_threading.patch
+++ b/patches/patches/104_threading.patch
@@ -1,6 +1,6 @@
---- 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 @@
+--- exercises/104_threading.zig 2025-11-01 15:54:27.074988112 +0100
++++ answers/104_threading.zig 2025-11-01 15:56:12.852195135 +0100
+@@ -97,12 +97,12 @@
defer handle.join();
// Second thread
@@ -15,8 +15,3 @@
// 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