diff options
author | Bernard Normier <bernard@zeroc.com> | 2003-05-19 21:27:30 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2003-05-19 21:27:30 +0000 |
commit | 2b9026d484fd7803872d1e6e1a30f5b2907dffdc (patch) | |
tree | 837aa72908295eb597557eaf94f153650eb65e4c /cpp/src | |
parent | Switched to process groups on Linux (diff) | |
download | ice-2b9026d484fd7803872d1e6e1a30f5b2907dffdc.tar.bz2 ice-2b9026d484fd7803872d1e6e1a30f5b2907dffdc.tar.xz ice-2b9026d484fd7803872d1e6e1a30f5b2907dffdc.zip |
Fixed comments from previous commit
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/IcePack/ActivatorI.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/IcePack/ActivatorI.cpp b/cpp/src/IcePack/ActivatorI.cpp index e9a992566c2..f10c16b8f77 100644 --- a/cpp/src/IcePack/ActivatorI.cpp +++ b/cpp/src/IcePack/ActivatorI.cpp @@ -229,6 +229,7 @@ IcePack::ActivatorI::activate(const ServerPtr& server) { #ifdef __linux + // // Create a process group for this child, to be able to send // a signal to all the thread-processes with killpg // @@ -374,7 +375,9 @@ IcePack::ActivatorI::deactivate(const ServerPtr& server) // #ifdef __linux + // // Use process groups on Linux instead of processes + // int ret = ::killpg(static_cast<pid_t>(pid), SIGTERM); #else int ret = ::kill(static_cast<pid_t>(pid), SIGTERM); |