Date: Wednesday, August 30, 2006 @ 16:43:17
Author: gilles
Path: /cvsroot/carob/carob/src
Modified: ControllerPinger.cpp (1.4 -> 1.5)
Protected isSuspectedOfFailure from concurrent accesses (added mutex)
Fixes CAROB-105
----------------------+
ControllerPinger.cpp | 2 ++
1 files changed, 2 insertions(+)
Index: carob/src/ControllerPinger.cpp
diff -u carob/src/ControllerPinger.cpp:1.4 carob/src/ControllerPinger.cpp:1.5
--- carob/src/ControllerPinger.cpp:1.4 Wed Aug 30 12:17:59 2006
+++ carob/src/ControllerPinger.cpp Wed Aug 30 16:43:17 2006
@@ -99,6 +99,8 @@
// This is a good place to do the ping on suspected controllers, we are
// called by most of the functions in this class
run();
+
+ LockScope scLs(&suspected_controllers_CS);
// Just compare controller info with each item in the whole list
for (std::vector<ControllerInfo>::const_iterator iter =
suspected_controllers.begin();
iter != suspected_controllers.end(); iter++)
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits