Christopher Layne wrote:
On Sat, Aug 04, 2007 at 07:21:46PM -0700, Scott Lamb wrote:
Christopher Layne wrote:
On Thu, Jul 19, 2007 at 01:14:58PM -0700, Scott Lamb wrote:
When I use valgrind --tool=memcheck on a libevent-based program, it
gives the following complaint:
==15442== Conditional
Niels Provos wrote:
Thanks for the patches. I removed the default timeout. Your patch
had a bug where timeout_correct no longer set event_tv correctly. I
fixed that.
Oh, nice catch, thanks.
Unfortunatley, the regression test currently fails on Mac
OS X when compiled with -O2. Still
Niels Provos wrote:
I am fine with removing rtsig. I personally never liked that way to
do event notification. If someone feels strongly, they can revive it
from svn and fix it.
Here's a patch to remove it, including the associated autoconf gunk.
Scott
From
On 8/4/07, Scott Lamb [EMAIL PROTECTED] wrote:
Here's the relevant bit from frame #1:
521if (req-cb != NULL)
522(*req-cb)(NULL, req-cb_arg);
So that test will cause bus errors any time the http connection fails.
Any particular reason it's passing NULL here rather
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
Hi Mark,
On Monday 06 August 2007, Mark Heily wrote:
On Sun, 2007-08-05 at 15:31 -0300, Victor wrote:
Is it safe to call event_add() from a second thread to
add more events on that event loop base?
No. Two threads cannot modify the same event_base struct without
explicit locking. You
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