summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorcheloha <cheloha@cvs.openbsd.org>2018-11-27 15:52:51 +0000
committercheloha <cheloha@cvs.openbsd.org>2018-11-27 15:52:51 +0000
commit2f489db3dbdfbd3f8634eb6614e14c6a2c38ac7d (patch)
tree4ea4b797db1de6e23304c1db374959c7781c7fea /lib/libc/stdlib
parent7d902a44685658a35afbb7b619ed5e928a408b7b (diff)
EVFILT_TIMER: Remove extra tick from tvtohz(9) on timeout reload.
tvtohz(9) adds an extra tick to account for the present tick, but this tick needs to be removed when the timeout is reloaded thereafter. We already do this for periodic setitimer(2) timeouts. Prompted by Paul Herman's writeup on clock aliasing for DragonflyBSD: https://frenchfries.net/paul/dfly/nanosleep.html Also fixed in FreeBSD r238424. Style tweaks from visa. ok visa@, guenther@
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions