diff options
| author | Chris Boesch <[email protected]> | 2024-03-05 09:15:57 +0100 |
|---|---|---|
| committer | Chris Boesch <[email protected]> | 2024-03-05 09:15:57 +0100 |
| commit | 6984345d0af6fb88438ad260fb9146bc8c36466b (patch) | |
| tree | 0a96910870f113d4ee266e2e27c46c2bb77dd66e /build.zig | |
| parent | 277304454a8f18b65985d61cc62c01d00b9dc2d0 (diff) | |
| download | ziglings-6984345d0af6fb88438ad260fb9146bc8c36466b.tar.xz ziglings-6984345d0af6fb88438ad260fb9146bc8c36466b.zip | |
Added threading exercise
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1104,6 +1104,20 @@ const exercises = [_]Exercise{ , }, .{ + .main_file = "104_threading.zig", + .output = + \\Starting work... + \\thread 1: started. + \\thread 2: started. + \\thread 3: started. + \\Some weird stuff, after starting the threads. + \\thread 2: finished. + \\thread 1: finished. + \\thread 3: finished. + \\Zig is cool! + , + }, + .{ .main_file = "999_the_end.zig", .output = \\ |
