On Fri, Oct 22, 2010 at 2:12 PM, Gilad Benjamini
<gi...@altornetworks.com> wrote:
>> -----Original Message-----
>> From: owner-libevent-us...@freehaven.net [mailto:owner-libevent-
>> us...@freehaven.net] On Behalf Of Nick Mathewson
>> Sent: Friday, October 22, 2010 10:39 AM
>> To: libevent-us...@freehaven.net
>> 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 majord...@freehaven.net with
unsubscribe libevent-users    in the body.

Reply via email to