Below is the new version of file test_et.c. The resulting
executable should return 1 whenever ET works, 0 otherwise.

>>> I must think a bit how to automate this. Please give me time.
>>
>> Maybe you could use the EVLOOP_NONBLOCK flag to event_loop(), and call
>> it twice, and verify that in the edge-triggered case the event is only
>> activated on the first call, but in the level-triggered case the event
>> is activated on the second call too?
>
> This looks exactly like a solution to a problem. Thanks, I'll fix.

-- 
Best regards,
Valery Kholodkov

Attachment: test_et.c
Description: Binary data

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

Reply via email to