FreeBSD's kern_clock_nanosleep writes the remaining time only when the sleep is cut short. A completed sleep zeroed rmtp, so nanosleep(&ts, &ts) in a polling loop slept zero time from the second call on. |
||
|---|---|---|
| .. | ||
| include | ||
| Time.cpp | ||
| TimedWait.cpp | ||
FreeBSD's kern_clock_nanosleep writes the remaining time only when the sleep is cut short. A completed sleep zeroed rmtp, so nanosleep(&ts, &ts) in a polling loop slept zero time from the second call on. |
||
|---|---|---|
| .. | ||
| include | ||
| Time.cpp | ||
| TimedWait.cpp | ||