CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2025/06/05 02:49:09
Modified files: sys/kern : kern_synch.c sys/sys : time.h Log message: Add a helper function TICKS_TO_NSEC() to transform ticks into nanoseconds. This is done since the multiplication needs to happen with uint64_t types to prevent overflows. Ticks use most probably a type of int and tick_nsec is also defined as an int. OK dlg@