diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2024-08-31 03:28:50 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2024-09-06 20:03:12 +0200 |
| commit | f35015575ef7ef5b493cf217f5e9c7152d6b6658 (patch) | |
| tree | 71d78aca61e666fad0c4f3825eef7996efe46abf /lib/std/multi_array_list.zig | |
| parent | 804319799586961052a9e4f283ad94d5018ce5fa (diff) | |
| download | zig-f35015575ef7ef5b493cf217f5e9c7152d6b6658.tar.gz zig-f35015575ef7ef5b493cf217f5e9c7152d6b6658.zip | |
std.time: Use clock_nanosleep() to implement sleep() on Linux.
This fixes the function for riscv32 where the old nanosleep() is not available.
clock_nanosleep() has been available since Linux 2.6 and glibc 2.1 anyway.
Diffstat (limited to 'lib/std/multi_array_list.zig')
0 files changed, 0 insertions, 0 deletions
