[launchd-changes] [22855] trunk/launchd/src/launchd_runtime.c
source_changes at macosforge.org
source_changes at macosforge.org
Thu Sep 14 17:41:48 PDT 2006
Revision: 22855
Author: zarzycki at apple.com
Date: 2006-09-14 17:41:46 -0700 (Thu, 14 Sep 2006)
Log Message:
-----------
If a receive timeout happens, we always need to continue.
Modified Paths:
--------------
trunk/launchd/src/launchd_runtime.c
Modified: trunk/launchd/src/launchd_runtime.c
===================================================================
--- trunk/launchd/src/launchd_runtime.c 2006-09-14 23:06:11 UTC (rev 22854)
+++ trunk/launchd/src/launchd_runtime.c 2006-09-15 00:41:46 UTC (rev 22855)
@@ -512,10 +512,10 @@
}
continue;
} else if (mr == MACH_RCV_TIMED_OUT) {
- if (to == MACH_MSG_TIMEOUT_NONE) {
- continue;
+ if (to != MACH_MSG_TIMEOUT_NONE) {
+ runtime_idle_callback();
}
- runtime_idle_callback();
+ continue;
} else if (!launchd_assumes(mr == MACH_MSG_SUCCESS)) {
continue;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/launchd-changes/attachments/20060914/53e0ed2c/attachment.html
More information about the launchd-changes
mailing list