diff options
author | Benoit Foucher <benoit@zeroc.com> | 2005-12-16 15:20:55 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2005-12-16 15:20:55 +0000 |
commit | 47eced97827ba72557f219cb6caa98232a504f74 (patch) | |
tree | 561156f48ef103bee7ebfe6babca14e99ea01152 /cpp/src/IceGrid/ServerAdapterI.cpp | |
parent | Fixed bug wrt hash calculation which did not take into effect hosts can be (diff) | |
download | ice-47eced97827ba72557f219cb6caa98232a504f74.tar.bz2 ice-47eced97827ba72557f219cb6caa98232a504f74.tar.xz ice-47eced97827ba72557f219cb6caa98232a504f74.zip |
Added feature to allow disabling a server if it doesn't return with a
0 exit code or if it crashes.
Diffstat (limited to 'cpp/src/IceGrid/ServerAdapterI.cpp')
-rw-r--r-- | cpp/src/IceGrid/ServerAdapterI.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/ServerAdapterI.cpp b/cpp/src/IceGrid/ServerAdapterI.cpp index 1bf8ab729c3..f016b95aa0e 100644 --- a/cpp/src/IceGrid/ServerAdapterI.cpp +++ b/cpp/src/IceGrid/ServerAdapterI.cpp @@ -208,6 +208,7 @@ ServerAdapterI::activationFailed(bool destroyed) } } + Lock sync(*this); for(vector<AMD_Adapter_activatePtr>::const_iterator p = _activateCB.begin(); p != _activateCB.end(); ++p) { (*p)->ice_response(0); |