[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] Problems with outbound HTTP posts



On Tue, Oct 23, 2012 at 10:09 PM, Ringel, Rick <Rick.Ringel@xxxxxxxx> wrote:

My code is pretty basic, but I am sure I am missing something.  It smells like a multi-thread issue – the initialization code runs in a different thread than the app generating the outbound HTTP messages, and in a different thread than the event loop.

Does anyone see something obvious here? 


Did you initialize libevent threading?

See http://www.wangafu.net/~nickm/libevent-book/Ref1_libsetup.html Section "Locks and threading"