On Fri, Oct 22, 2010 at 2:12 PM, Gilad Benjamini
<[email protected]> wrote:
>> -----Original Message-----
>> From: [email protected] [mailto:owner-libevent-
>> [email protected]] On Behalf Of Nick Mathewson
>> Sent: Friday, October 22, 2010 10:39 AM
>> To: [email protected]
>> Subject: Re: [Libevent-users] epoll erros
>>
> ...
>> It won't catch attempts to manually reassign the event's ev_events
>> while the event is added.  I sure hope nobody is doing that.  Don't
>> touch struct event's fields by hand.
>
> Following this comment I discovered that my code does touch ev_events by
> hand. Fixing my code with the patch below did not make the problem go away

D'oh. I should have been more specific.  It's *modifying* ev_events by
hand that can get you in serious trouble.  Inspecting them by hand is
just an obstacle to ABI forward-compatibility.

It must be something else...

yrs,
-- 
Nick
***********************************************************************
To unsubscribe, send an e-mail to [email protected] with
unsubscribe libevent-users    in the body.

Reply via email to