[Libevent-users] Re:problem with use libevent 2.0.21-stable on php c extension

2013-01-22 Thread Ming Xie
arget=i486-linux-gnu Thread model: posix gcc version 4.4.5 (Debian 4.4.5-8) At 2013-01-22 16:16:02,"Ming Xie" wrote: Hi, all my php version : 5.3.6 i'm writing a connection pool php extension using libevent. i build connecion like this: conn_ptr->ev_buffer = buffere

[Libevent-users] problem with use libevent 2.0.21-stable on php c extension

2013-01-22 Thread Ming Xie
Hi, all my php version : 5.3.6 i'm writing a connection pool php extension using libevent. i build connecion like this: conn_ptr->ev_buffer = bufferevent_socket_new(ptr_base, -1, BEV_OPT_CLOSE_ON_FREE/* | BEV_OPT_THREADSAFE*/); if (conn_ptr->ev_buffer == NULL) { fprintf(stderr, "buffereve