Hi Niels, On Monday 06 August 2007, you wrote: > I would like to figure out ways in which libevent can be more thread > friendly without requiring everyone to use threads. So, thread > specific store for the event base seems like a good idea and I would > certainly appreciate to see patches.
Just a quick thought: What about something simple like registering mutex lock/unlock callbacks? If there is registered mutex callbacks, libevent calls it before and after making changes on a event base. Something like: event_base_register_lock( event_base , myMutexlock ); event_base_register_unlock( event_base , myMutexunlock ); Regards, Victor _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkey.org/mailman/listinfo/libevent-users