Hi,

What is the proper way to "reset" the timeout on an event (a signal_event in my case), so far the only way i can think of is the followng construction:

signal_del(signal_ev); /* delete old event from the event-queue) */
signal_add(signal_ev, &tv); /* reschedule the event with a new timeout */


is there any possibility that doesn't feel as hackish ... or potentially other solutions ?

--
  Pascal Hofstee

_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to