mirror of
https://codeberg.org/ziglings/exercises.git
synced 2025-11-05 05:05:36 +00:00
pause slightly extended for faster computers
This commit is contained in:
parent
147ff302ec
commit
6c8f4ef507
|
|
@ -106,7 +106,7 @@ pub fn main() !void {
|
||||||
|
|
||||||
// After the threads have been started,
|
// After the threads have been started,
|
||||||
// they run in parallel and we can still do some work in between.
|
// 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", .{});
|
std.debug.print("Some weird stuff, after starting the threads.\n", .{});
|
||||||
}
|
}
|
||||||
// After we have left the closed area, we wait until
|
// After we have left the closed area, we wait until
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user