mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-02 13:53:06 +02: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>
|
2008-03-31 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
* glib/gwin32.c
|
* glib/gwin32.c
|
||||||
|
@ -388,7 +388,7 @@ g_poll (GPollFD *fds,
|
|||||||
ready = WAIT_FAILED;
|
ready = WAIT_FAILED;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Sleep (timeout);
|
SleepEx (timeout, TRUE);
|
||||||
ready = WAIT_TIMEOUT;
|
ready = WAIT_TIMEOUT;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user