You can read the following links: http://monkeymail.org/archives/libevent-users/2007-January/000450.html
Passing data between event loops in multithreaded apps http://monkeymail.org/archives/libevent-users/2006-October/000257.html 2007/8/6, Victor <[EMAIL PROTECTED]>: > Hi there! > > I have a question regarding the use of libevent with threads. I have a > thread running the event loop with its own event base and everything > is working fine. Is it safe to call event_add() from a second thread to > add more events on that event loop base? > > Thanks, > > Victor > _______________________________________________ > Libevent-users mailing list > Libevent-users@monkey.org > http://monkey.org/mailman/listinfo/libevent-users > _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkey.org/mailman/listinfo/libevent-users