Title: Newbie questions

HI there,

I just started taking a look at libevent and had a couple questions.

1. are the event_* api's thread safe?

2. how do you use EV_PERSIST flag?  I'm used to using poll where I add interest for read or write, then when the socket is readable/writable, I remove my interest for that event until my read/write would block again, then I add back my interest for this event again.

Thanks,
Ed

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

Reply via email to