Re: How to pause/continue itimer ?
RVP <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.kernel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 30 Nov 2025, Beesdeckar wrote: > It seems that I found how to make it functional, > > zeroing both values pauses timer. > For continuing timer I need to put back old values > and call again > getnanotime(&t.it_time.it_value); > itimer_settime(&t); > You have to call itimer_settime() after zeroing too. (Similar to setitimer(2) usage in userspace.) -RVP