Re: [gnet-devel] echoserver.exe cause 100% CUP time on WinXP



Hi Kuang-Chan,

I remember having a similar problems a few years back, but I forgot how I solved it! But what I do know is that my xmlrpc-server code in the gnet tarball is working on windows. Perhaps it can be of help to get your server to work.

Regards,
Dov

On 11/04/2008, Kuang-Chun Cheng <kcc1967 gmail com> wrote:
Hi,

I had build gnet-2.0.8 by using cross mingw compiler under Linux.
And I found even the simple "echoserver.exe" will cause 100% CPU time
under WinXP when client connected to it (after accept return ...)

I checked gnet-2.0.7 which also had the similar problem.

gnet client did not have such probem, only server (GTcpSocket server).

I don't know if it's my cross mingw problem, glib2 problem or gnet2 problem.
Does anyone can suggest where should I looking at.
Any code in gnet2 might use 100% CPU when "accept" return ?

I will start looking at the source code of gnet2 ... and hopefully
also can get some
information from here.  Thanks

Best Regards,
KC
_______________________________________________
gnet-devel-list mailing list
gnet-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gnet-devel-list



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