Re: [Libevent-users] event_init() and thread safety

2007-05-02 Thread Wouter Wijngaards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 harry wrote: > On Tue, May 01, 2007 at 10:38:50AM -0700, Steven Grimm wrote: >> If you're calling event_init() more than once, you never want to call >> event_set() and other such functions. You want to call event_set_base() >> and pass in the handle

Re: [Libevent-users] event_init() and thread safety

2007-05-01 Thread harry
On Tue, May 01, 2007 at 10:38:50AM -0700, Steven Grimm wrote: > If you're calling event_init() more than once, you never want to call > event_set() and other such functions. You want to call event_set_base() > and pass in the handle you get back from event_init(). Using the > current_base versio

Re: [Libevent-users] event_init() and thread safety

2007-05-01 Thread Steven Grimm
If you're calling event_init() more than once, you never want to call event_set() and other such functions. You want to call event_set_base() and pass in the handle you get back from event_init(). Using the current_base versions of the event calls in a multithreaded app (where you are using lib