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 majord...@freehaven.net with unsubscribe libevent-users in the body.