CVSROOT: /cvs Module name: src Changes by: chel...@cvs.openbsd.org 2020/10/24 19:55:18
Modified files: sys/kern : kern_time.c kern_fork.c Log message: setitimer(2): ITIMER_REAL: use kclock timeouts Reimplement the ITIMER_REAL interval timer with a kclock timeout. Couple things of note: - We need to use the high-res nanouptime(9) call, not the low-res getnanouptime(9). - The code is simpler now that we aren't working with ticks. Misc. thoughts: - Still unsure if "kclock" is the right name for these things. - MP-safely cancelling a periodic timeout is very difficult.