Date: Monday, February 12, 2007 @ 18:51:09
  Author: gilles
    Path: /cvsroot/carob/carob/src

Modified: ControllerWatcher.cpp (1.15 -> 1.16)

(minor)
Added pthread_exit() call in watcher thread
Use of more common pthread_exit(0) (instead of NULL) in controller watcher 
thread


-----------------------+
 ControllerWatcher.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: carob/src/ControllerWatcher.cpp
diff -u carob/src/ControllerWatcher.cpp:1.15 
carob/src/ControllerWatcher.cpp:1.16
--- carob/src/ControllerWatcher.cpp:1.15        Wed Feb  7 16:32:33 2007
+++ carob/src/ControllerWatcher.cpp     Mon Feb 12 18:51:09 2007
@@ -52,7 +52,7 @@
   // everything:
 
   delete self;
-  pthread_exit(NULL);
+  pthread_exit(0);
   return NULL;
 }
 
@@ -197,6 +197,7 @@
     // This will start callbacks according to new states
     controllers_ptr->lookForDeadControllers(currentTimeMillis());
   }
+  pthread_exit(0);
 }
 
 /**

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to