[wing/wip/nacho/poll] fix
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [wing/wip/nacho/poll] fix
- Date: Tue, 4 Dec 2018 10:04:29 +0000 (UTC)
commit f3c03c3adc1d39e84367ceab427a1aaebfbe8017
Author: Ignacio Casal Quinteiro <qignacio amazon com>
Date: Tue Dec 4 11:04:14 2018 +0100
fix
wing/wingpoll.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/wing/wingpoll.c b/wing/wingpoll.c
index 5385d68..ba881ec 100644
--- a/wing/wingpoll.c
+++ b/wing/wingpoll.c
@@ -296,10 +296,8 @@ wing_poll (GPollFD *fds,
if (timeout == -1)
timeout = INFINITE;
- /* Simple case without extra threads, note that the MSG fd could take a slot
- * so we check for less than MAXIMUM_WAIT_OBJECTS
- */
- if (nfds < MAXIMUM_WAIT_OBJECTS)
+ /* Simple case without extra threads */
+ if (nfds <= MAXIMUM_WAIT_OBJECTS)
{
GWin32PollThreadData data = { 0, };
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]