mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
Improve fix for #525192 below: Use SleepEx() so that the sleep is
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. svn path=/trunk/; revision=6794
This commit is contained in:
parent
befae6688e
commit
d8fa7b34d2
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
||||
2008-03-31 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* glib/gwin32.c
|
||||
|
@ -388,7 +388,7 @@ g_poll (GPollFD *fds,
|
||||
ready = WAIT_FAILED;
|
||||
else
|
||||
{
|
||||
Sleep (timeout);
|
||||
SleepEx (timeout, TRUE);
|
||||
ready = WAIT_TIMEOUT;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user