Re: [Libevent-users] libevent 2.0.4: Segmentation fault with BEV_OPT_THREADSAFE set

2010-04-02 Thread David M. Irvine
I've had no problems using BEV_OPT_THREADSAFE on macos (10.6.3) and libevent 2.0.4. It doesn't look like you're calling evthread_use_pthreads() which you probably should be. dave On Apr 2, 2010, at 2:53 AM, Jarod Liu wrote: > My demo code works fine without the BEV_OPT_THREADSAFE option. > W

[Libevent-users] libevent 2.0.4: Segmentation fault with BEV_OPT_THREADSAFE set

2010-04-02 Thread Jarod Liu
My demo code works fine without the BEV_OPT_THREADSAFE option. With the option segmentation fault 100% will happen. Maybe it is a platform specified problem, I see no one report before. = $ /usr/bin/c++ --version c++ (GCC) 4.1.2