Re: [Libevent-users] Threading concerns

2009-12-01 Thread Nick Mathewson
On Mon, Nov 30, 2009 at 02:49:09AM -0500, Donghua Xu wrote: > Thanks Nick. How do I enable the "common timeout" logic? Or is it > enabled by default in 2.0.3-alphra? Check out the documentation for event_base_init_common_timeout() in include/event2/event.h in Libevent 2.0.3-alpha. Basically, if y

Re: [Libevent-users] Threading concerns

2009-11-29 Thread Donghua Xu
Thanks Nick. How do I enable the "common timeout" logic? Or is it enabled by default in 2.0.3-alphra? On Mon, Nov 30, 2009 at 1:48 AM, Nick Mathewson wrote: > On Sun, Nov 29, 2009 at 11:18:19PM -0500, Donghua Xu wrote: >> Hi, >> >> Sorry if this is a stupid question. But I have not found a clear

Re: [Libevent-users] Threading concerns

2009-11-29 Thread Nick Mathewson
On Sun, Nov 29, 2009 at 11:18:19PM -0500, Donghua Xu wrote: > Hi, > > Sorry if this is a stupid question. But I have not found a clear > answer in the documentations. I am just beginning to look into using > libevent for our project. We will need to schedule millions of timed > events, and thousan

[Libevent-users] Threading concerns

2009-11-29 Thread Donghua Xu
Hi, Sorry if this is a stupid question. But I have not found a clear answer in the documentations. I am just beginning to look into using libevent for our project. We will need to schedule millions of timed events, and thousands of them may be triggered at the same time. So we have to use thread p