How do I cancel a timer?

Space Ship Traveller space.ship.traveller at
Fri Dec 19 23:14:36 CET 2008

This is a bit of a pointless discussion.

If you have a problem managing your memory, why don't you write your  
own wrapper.

struct my_ev_watcher
	int initialized;
	ev_timer timer;

void my_ev_init_timer (struct my_ev_watcher * w)
	if (w->initialized)
	//... initialize it

This code is very quickly thrown together to show a basic idea, it  
obviously won't work in its current form.

More information about the libev mailing list