diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-02-17 22:45:49 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-17 22:45:49 -0500 |
| commit | e8a84927ab989d3c8fb6668dd242ada0a8f99585 (patch) | |
| tree | e0189e9cae971e221f0b76fb4c7e7b096d23959a /lib/std/time.zig | |
| parent | 35f0cb049e6a46c8037bab15a9debc21ad1a979e (diff) | |
| parent | 99520c4e6936b69e7489262bc35a70300366d395 (diff) | |
| download | zig-e8a84927ab989d3c8fb6668dd242ada0a8f99585.tar.gz zig-e8a84927ab989d3c8fb6668dd242ada0a8f99585.zip | |
Merge pull request #4478 from ziglang/self-host-libc-detection
self-hosted libc and dynamic linker detection
Diffstat (limited to 'lib/std/time.zig')
| -rw-r--r-- | lib/std/time.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/time.zig b/lib/std/time.zig index 716c999577..a5f66122cb 100644 --- a/lib/std/time.zig +++ b/lib/std/time.zig @@ -8,6 +8,7 @@ const math = std.math; pub const epoch = @import("time/epoch.zig"); /// Spurious wakeups are possible and no precision of timing is guaranteed. +/// TODO integrate with evented I/O pub fn sleep(nanoseconds: u64) void { if (builtin.os == .windows) { const ns_per_ms = ns_per_s / ms_per_s; |
