diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2026-04-03 14:28:19 +0200 |
|---|---|---|
| committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2026-04-03 14:28:19 +0200 |
| commit | 25009361533be5e45cf59d9840edf5d13cfb8d6d (patch) | |
| tree | 0bf1f331b8162d1b378f0c3c9c291eddc9c0fba3 /build.zig | |
| parent | 903c33cd0a6dfdc050e8575f64aa60a9a09001e0 (diff) | |
new async exercise
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -1161,13 +1161,20 @@ const exercises = [_]Exercise{ }, .{ .main_file = "092_async9.zig", - .output = "", - .skip = true, + .output = + \\Main thread continues... + \\Computing on a separate thread! + \\Main thread done waiting. + \\Result: 123 + , // pay attention to the comma }, .{ .main_file = "093_async10.zig", - .output = "", - .skip = true, + .output = + \\Starting critical section... + \\Critical section completed safely. + \\Task result: All data saved. + , // pay attention to the comma }, .{ .main_file = "094_async_quiz.zig", |
