A previous patch added a check for fd == 0 and caused the poll loop in
this case in the timer system to continue not executing the timer.
The poll API uses no fds in this case, so it always returns fd == 0 when
poll should be expired.
Regards
-steve
Index: trunk/exec/timer.c
===================================================================
--- trunk/exec/timer.c (revision 1992)
+++ trunk/exec/timer.c (working copy)
@@ -127,7 +127,7 @@
}
timer_serialize_unlock_fn ();
fds = poll (NULL, 0, timeout);
- if (fds == 0 || (fds < 0 && errno == EINTR)) {
+ if (fds < 0 && errno == EINTR) {
continue;
}
if (fds < 0) {
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais