On Mon, Mar 3, 2008 at 6:15 AM, Yakov Lerner <[EMAIL PROTECTED]> wrote: > What is thread-safety of libevent ? Specifically, is it OK > if I run libevent mainloop in one thread, and register new > events in other thread ?
The 1.4 branch supports an event base for each thread. Trunk has support for providing user specific locking primitives so that other threads can add or remove events from an event base owned by a different thread. Niels. _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users