# std.Io.Threaded: clock_nanosleep is not linux-only · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/4319c8924ed2a73abdc8f4caa80703d2949be810)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 4319c8924ed2a73abdc8f4caa80703d2949be810

Requested commit: 4319c8924ed2a73abdc8f4caa80703d2949be810

Commit: 4319c8924ed2a73abdc8f4caa80703d2949be810

Tree: 4e8a0853d81b57990f8a55cf7f8e0b0ecfd3dfe1

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.Io.Threaded: clock_nanosleep is not linux-only

clock_nanosleep is specified by POSIX but not implemented on these
hereby shamed operating systems:
* macOS
* OpenBSD (which defines TIMER_ABSTIME for some reason...?)

```

## Parents

- [6a5bb3ede36ab9dd7a5ce95e1339ca4e138886fc](https://git.cafe/gitcafe/zig/commit/6a5bb3ede36ab9dd7a5ce95e1339ca4e138886fc?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/4319c8924ed2a73abdc8f4caa80703d2949be810?format=markdown)
