CVSROOT: /cvs Module name: src Changes by: chel...@cvs.openbsd.org 2020/10/07 10:17:25
Modified files: sys/kern : kern_time.c Log message: 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.