[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [Libevent-users] Re: Crash in evhttp_send_reply_chunk()
On Thu, May 31, 2012 at 06:48:32AM -0700, Alap Kumar Sinha wrote:
> Hi,
>
> I have attached code snippet. Please let me know if it is better now.
>
> Regards,
> Alap
>
Use evthread_use_pthreads() before anything else and compile with
-levent_pthreads. You cannot use events across different threads without
it.
Also, startSend is not thread-safe.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.