glib r6795 - in branches/glib-2-16: . glib
- From: tml svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6795 - in branches/glib-2-16: . glib
- Date: Mon, 31 Mar 2008 19:07:15 +0100 (BST)
Author: tml
Date: Mon Mar 31 19:07:15 2008
New Revision: 6795
URL: http://svn.gnome.org/viewvc/glib?rev=6795&view=rev
Log:
2008-03-31 Tor Lillqvist <tml novell com>
* glib/gmain.c (g_poll): Improve fix for #525192 below: Use
SleepEx() so that the sleep is alertable. Thanks to John
Ehresman.
Modified:
branches/glib-2-16/ChangeLog
branches/glib-2-16/glib/gmain.c
Modified: branches/glib-2-16/glib/gmain.c
==============================================================================
--- branches/glib-2-16/glib/gmain.c (original)
+++ branches/glib-2-16/glib/gmain.c Mon Mar 31 19:07:15 2008
@@ -388,7 +388,7 @@
ready = WAIT_FAILED;
else
{
- Sleep (timeout);
+ SleepEx (timeout, TRUE);
ready = WAIT_TIMEOUT;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]