[launchd-changes] [23848] branches/PR-6564965/launchd/src/launchd_core_logic.c
source_changes at macosforge.org
source_changes at macosforge.org
Fri Feb 27 22:34:35 PST 2009
Revision: 23848
http://trac.macosforge.org/projects/launchd/changeset/23848
Author: dsorresso at apple.com
Date: 2009-02-27 22:34:34 -0800 (Fri, 27 Feb 2009)
Log Message:
-----------
Fix for rdar://problem/6623625.
Modified Paths:
--------------
branches/PR-6564965/launchd/src/launchd_core_logic.c
Modified: branches/PR-6564965/launchd/src/launchd_core_logic.c
===================================================================
--- branches/PR-6564965/launchd/src/launchd_core_logic.c 2009-02-27 03:38:46 UTC (rev 23847)
+++ branches/PR-6564965/launchd/src/launchd_core_logic.c 2009-02-28 06:34:34 UTC (rev 23848)
@@ -5492,7 +5492,7 @@
/* If we've killed everyone, move on. */
if( unkilled_cnt == 0 ) {
- jm->killed_hopefully_first_jobs = true;
+ jm->killed_normal_jobs = true;
jm = NULL;
}
@@ -5554,7 +5554,7 @@
/* If we've killed everyone, move on. */
if( unkilled_cnt == 0 ) {
- jm->killed_hopefully_first_jobs = true;
+ jm->killed_hopefully_last_jobs = true;
jm = NULL;
}
@@ -5573,6 +5573,12 @@
jobmgr_do_garbage_collection(jmi);
}
+ if( SLIST_EMPTY(&jm->submgrs) ) {
+ jobmgr_log(jm, LOG_DEBUG, "No submanagers left.");
+ } else {
+ jobmgr_log(jm, LOG_DEBUG, "Still have submanagers.");
+ }
+
jobmgr_t _jm = jobmgr_do_hopefully_first_shutdown_phase(jm);
if( !_jm ) {
_jm = jobmgr_do_normal_shutdown_phase(jm) ? : jobmgr_do_hopefully_last_shutdown_phase(jm);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/launchd-changes/attachments/20090227/4018c140/attachment.html>
More information about the launchd-changes
mailing list