In libevent2 you can use events bases which are threads safe. For example to dispatch useint event_base_dispatch ( struct event_base * )
which is thread safe. 2011/3/31 蒋浩 <jax...@gmail.com> > As captioned,in libevent2, for example,event_add or event_dispatch and so > on,are they thread safe?can I use them safe in different threads ?