How do I cancel a timer?

Space Ship Traveller space.ship.traveller at gmail.com
Fri Dec 19 23:55:40 CET 2008


That part was left as an exercise for the reader................ I  
thought it was fairly obvious the pitfalls of this approach.

Anyway, good to have it in black and white :)

Regards,
Samuel

On 20/12/2008, at 11:33 AM, James Mansion wrote:

> Space Ship Traveller wrote:
>> This code is very quickly thrown together to show a basic idea, it  
>> obviously won't work in its current form.
>>
> And you have fallen directly foul of the point that Marc made about  
> that being unreliable.  You have to
> ensure that 'initialized' is 0 before the first call (and reset  
> during the tear-down).
>
>




More information about the libev mailing list