diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-11-01 16:02:14 +0100 |
|---|---|---|
| committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-11-01 16:02:14 +0100 |
| commit | 56b220e98d4c43b4fa204d8f11e9aa7b8de358cb (patch) | |
| tree | f2a457ec1b35990403e15f76a2a9e7892969ea08 /patches | |
| parent | 4c291f35d5470fc179f0aa524671f40ac60ba802 (diff) | |
| parent | 850700e68eed219d5c91826952dee599627f8540 (diff) | |
Merge pull request 'pause slightly extended for faster computers' (#317) from new_io_2 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/317
Diffstat (limited to 'patches')
| -rw-r--r-- | patches/patches/104_threading.patch | 11 |
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 |
