[xiph-cvs] cvs commit: icecast/src main.c

Karl Heyes karl at xiph.org
Wed Jan 28 15:23:11 PST 2004



karl        04/01/28 18:23:11

  Modified:    src      main.c
  Log:
  change thread startup/shutdown order slightly wrt to slave thread

Revision  Changes    Path
1.37      +4 -3      icecast/src/main.c

Index: main.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/main.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- main.c	29 Dec 2003 16:18:48 -0000	1.36
+++ main.c	28 Jan 2004 23:23:10 -0000	1.37
@@ -103,8 +103,8 @@
     fserve_shutdown();
     xslt_shutdown();
     refbuf_shutdown();
-    stats_shutdown();
     slave_shutdown();
+    stats_shutdown();
 
     /* Now that these are done, we can stop the loggers. */
     _stop_logging();
@@ -439,8 +439,6 @@
             fclose (f);
         }
     }
-    /* Do this after logging init */
-    slave_initialize();
 
     INFO0("icecast server started");
 
@@ -454,6 +452,9 @@
     yp_initialize();
 #endif
 
+    /* Do this after logging init */
+    slave_initialize();
+
     _server_proc();
 
     INFO0("Shutting down");

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list