Which version of libevent are you using and where is the code that makes use of it?
Niels. On 4/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hannah, > > > > What results do you get if you profile your server program (compile > > and > > link with -pg, run it, terminate it, run > > gprof <binary> gmon.out > profile.txt > > and look at the output)? > > > > The high CPU usage is happening inside event_dispatch() -- basically, > it seems to be doing a "busy wait" on connected sockets, trying to > send data. This is on Debian Sarge (using epoll()) and Mac OSX > 10.4.6 (using kqueue). Is there a way I can configure libEvent to > not "busy wait"? > > Regards, > > John > > Falling You - exploring the beauty of voice and sound > http://www.fallingyou.com > > > > > > > > _______________________________________________ > Libevent-users mailing list > Libevent-users@monkey.org > http://monkey.org/mailman/listinfo/libevent-users > > _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkey.org/mailman/listinfo/libevent-users