Minor changes in master thread messages.
authorFlorian Pose <fp@igh-essen.com>
Fri, 09 Feb 2007 10:04:05 +0000
changeset 540 a729667dea1e
parent 539 7bb92fca28ef
child 541 5a2b1658b67f
Minor changes in master thread messages.
master/master.c
--- a/master/master.c	Fri Feb 09 09:52:43 2007 +0000
+++ b/master/master.c	Fri Feb 09 10:04:05 2007 +0000
@@ -357,6 +357,7 @@
 {
     init_completion(&master->thread_exit);
     
+    EC_INFO("Starting master thread.\n");
     if (!(master->thread_id =
                 kernel_thread(ec_master_thread, master, CLONE_KERNEL)))
         return -1;
@@ -375,7 +376,7 @@
     if (master->thread_id) {
         kill_proc(master->thread_id, SIGTERM, 1);
         wait_for_completion(&master->thread_exit);
-        EC_DBG("Master thread exited.\n");
+        EC_INFO("Master thread exited.\n");
     }    
 }
 
@@ -839,7 +840,6 @@
         schedule_timeout(1);
     }
     
-    EC_INFO("Master thread exiting.\n");
     master->thread_id = 0;
     complete_and_exit(&master->thread_exit, 0);
 }