Re: How to pause/continue itimer ?
Beesdeckar <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.kernel |
|---|---|
| Organization | Soft in Engines |
| Message-ID | <[email protected]> |
I tried it, zeroing both values pauses timer, but putting back old values does not restore timer and handler is not called. > On Mon, 24 Nov 2025, Beesdeckar wrote: > >> My question are: >> Does exist any way how to pause itimer >> > > set `.tv_sec = .tv_nsec = 0;' to cancel the timer. > >> and after some time start it again ? >> > > put back old values. > > -RVP >