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); I hope that I am not doing something wrong.. On 11/29/25 13:11, Beesdeckar wrote:
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 itimerset `.tv_sec = .tv_nsec = 0;' to cancel the timer.and after some time start it again ?put back old values. -RVP