diff options
author | Marc Laukien <marc@zeroc.com> | 2001-08-24 23:14:38 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-08-24 23:14:38 +0000 |
commit | 4006caeb0129448b25c7ff662b39d9c0bbb73e1a (patch) | |
tree | 68fe07d02a5505b5d09e27809e2acbff5b399f92 /cpp/src/IcePack/Activator.cpp | |
parent | fixes (diff) | |
download | ice-4006caeb0129448b25c7ff662b39d9c0bbb73e1a.tar.bz2 ice-4006caeb0129448b25c7ff662b39d9c0bbb73e1a.tar.xz ice-4006caeb0129448b25c7ff662b39d9c0bbb73e1a.zip |
fixes
Diffstat (limited to 'cpp/src/IcePack/Activator.cpp')
-rw-r--r-- | cpp/src/IcePack/Activator.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/cpp/src/IcePack/Activator.cpp b/cpp/src/IcePack/Activator.cpp index 50cb645f710..d3900db798e 100644 --- a/cpp/src/IcePack/Activator.cpp +++ b/cpp/src/IcePack/Activator.cpp @@ -84,20 +84,20 @@ IcePack::Activator::destroy() setInterrupt(); } -void +bool IcePack::Activator::activate(const ServerDescriptionPtr& desc) { JTCSyncT<JTCMutex> sync(*this); if (_destroy) { - return; + return false; } string path = desc->path; if (path.empty()) { - return; + return false; } // @@ -118,7 +118,7 @@ IcePack::Activator::activate(const ServerDescriptionPtr& desc) // if (_processes.count(path)) { - return; + return false; } // @@ -186,6 +186,8 @@ IcePack::Activator::activate(const ServerDescriptionPtr& desc) setInterrupt(); } + + return true; } void @@ -259,7 +261,8 @@ IcePack::Activator::terminationListener() else if(ret == 0) { // - // If the pipe was closed, the process has terminated + // If the pipe was closed, the process has + // terminated // map<string, Process>::iterator q = p; ++p; |