Date: Monday, September 4, 2006 @ 12:39:35
Author: marc
Path: /cvsroot/carob/carob/src
Modified: ControllerPinger.cpp (1.5 -> 1.6)
slightly increased locking scope in ::run(). Should fix CAROB-107 (CAROB-103)
for now.
----------------------+
ControllerPinger.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: carob/src/ControllerPinger.cpp
diff -u carob/src/ControllerPinger.cpp:1.5 carob/src/ControllerPinger.cpp:1.6
--- carob/src/ControllerPinger.cpp:1.5 Wed Aug 30 16:43:17 2006
+++ carob/src/ControllerPinger.cpp Mon Sep 4 12:39:35 2006
@@ -141,12 +141,12 @@
void ControllerPinger::run()
{
+ LockScope scLs(&suspected_controllers_CS);
+
wstring fctName(L"ControllerPinger::run");
if (suspected_controllers.size() < 1)
return;
- LockScope scLs(&suspected_controllers_CS);
-
// list of suspected controllers we can connect to
std::vector<SuspectController> suspected_and_connected_controllers;
#ifdef CAROB_USE_POLL
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits