diff options
author | cheloha <cheloha@cvs.openbsd.org> | 2020-10-07 16:17:26 +0000 |
---|---|---|
committer | cheloha <cheloha@cvs.openbsd.org> | 2020-10-07 16:17:26 +0000 |
commit | 272389efda1fadc4f6912739a8565515e24ffa5f (patch) | |
tree | 782417b2c8cc7bff59dbddea62019a4593ad5855 /regress/lib/csu | |
parent | d318079e92389fab578f515008d3a03febb5955b (diff) |
getitimer(2), setitimer(2): ITIMER_REAL: call getnanouptime(9) once
Now that the critical sections are merged we should call
getnanouptime(9) once. This makes an ITIMER_REAL timer swap atomic
with respect to the clock: the time remaining on the old timer is
computed with the same timestamp used to schedule the new timer.
Diffstat (limited to 'regress/lib/csu')
0 files changed, 0 insertions, 0 deletions