Re: Glib IO speed improved by moving mouse
Thorsten Maerz <[email protected]>
| Newsgroups | gmane.comp.video.gimp.windows.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Johan, On Thu, 10 Oct 2002 19:53:55 +0200 Johan <[email protected]> wrote: > Today when I tryed to solve this problem I noticed > something that made the transferspeed be as good as in > linux. If I moved my mouse-pointer( inside the application > window ) all the time during the filetransfer, the speed > was improved alot! I assume you're talking about sockets. We had the same problems with an email client (Sylphed-Claws) and patched some parts of glib: ----8<---- diff -Pru glib-2.0.1/glib/gmain.c glib/glib/gmain.c --- glib-2.0.1/glib/gmain.c Thu Mar 7 00:43:52 2002 +++ glib/glib/gmain.c Sat Apr 27 15:30:42 2002 @@ -282,7 +282,7 @@ } if (timeout == -1) - timeout = INFINITE; + timeout = 10; // INFINITE; if (poll_msgs) { ---->8---- A complete list of changes can be viewed here: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/sylpheed-claws/sylpheed-claws/win32/patches/Attic/glib.diff?rev=1.1.2.1&only_with_tag=win32&content-type=text/vnd.viewcvs-markup A compiled version of the patched glib-2.0-0 is contained here: http://claws-w32.sourceforge.net/sylpheed/claws/dll_standard_020724.zip Maybe this works for you. I didnt find the time to find out if this is caused by unclean code on our side or a glib problem. HTH -- Thorsten Maerz <[email protected]> Sylpheed-claws/Win32: http://claws-w32.sf.net