[launchd-changes] [23672] branches/PR-5039559/launchd/src/launchd.c
source_changes at macosforge.org
source_changes at macosforge.org
Mon Aug 18 21:58:06 PDT 2008
Revision: 23672
http://trac.macosforge.org/projects/launchd/changeset/23672
Author: dsorresso at apple.com
Date: 2008-08-18 21:58:06 -0700 (Mon, 18 Aug 2008)
Log Message:
-----------
Minor adjustments.
Modified Paths:
--------------
branches/PR-5039559/launchd/src/launchd.c
Modified: branches/PR-5039559/launchd/src/launchd.c
===================================================================
--- branches/PR-5039559/launchd/src/launchd.c 2008-08-19 01:41:36 UTC (rev 23671)
+++ branches/PR-5039559/launchd/src/launchd.c 2008-08-19 04:58:06 UTC (rev 23672)
@@ -102,11 +102,11 @@
static bool re_exec_in_single_user_mode;
static void *crash_addr;
static pid_t crash_pid;
+static unsigned int g_sync_frequency = 30;
bool shutdown_in_progress;
bool fake_shutdown_in_progress;
bool network_up;
-unsigned int g_sync_frequency = 0;
int
main(int argc, char *const *argv)
@@ -172,7 +172,6 @@
if( pid1_magic ) {
/* Start the update thread -- rdar://problem/5039559&6153301 */
pthread_t t = NULL;
- g_sync_frequency = 30;
int err = pthread_create(&t, NULL, update_thread, NULL);
launchd_assumes(err == 0);
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/launchd-changes/attachments/20080818/7b8c31bd/attachment.html
More information about the launchd-changes
mailing list