summaryrefslogtreecommitdiff
path: root/regress/lib/csu
diff options
context:
space:
mode:
authorcheloha <cheloha@cvs.openbsd.org>2020-10-07 16:17:26 +0000
committercheloha <cheloha@cvs.openbsd.org>2020-10-07 16:17:26 +0000
commit272389efda1fadc4f6912739a8565515e24ffa5f (patch)
tree782417b2c8cc7bff59dbddea62019a4593ad5855 /regress/lib/csu
parentd318079e92389fab578f515008d3a03febb5955b (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