summaryrefslogtreecommitdiff
path: root/examples/Threads
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-06-22 22:20:16 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-06-22 22:20:16 +0000
commit462d0f90cc60ef3e50a9532522aab2065ecdbcb5 (patch)
treee3d12a3d264a63e5d3204c10092813dfa8244cd3 /examples/Threads
parent7f8f58bf98f730d2af39931eb59b65fa87a1d185 (diff)
downloadATCD-462d0f90cc60ef3e50a9532522aab2065ecdbcb5.tar.gz
(main): replaced call to kill with terminate
Diffstat (limited to 'examples/Threads')
-rw-r--r--examples/Threads/process_manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Threads/process_manager.cpp b/examples/Threads/process_manager.cpp
index c2dc450b95c..92d75687458 100644
--- a/examples/Threads/process_manager.cpp
+++ b/examples/Threads/process_manager.cpp
@@ -158,8 +158,8 @@ main (int argc, char *argv[])
ACE_OS::sleep (1);
// Shutdown the child.
- if (proc_mgr.kill (pid, SIGINT) == -1)
- ACE_ERROR_RETURN ((LM_DEBUG, "(%P|%t) %p\n", "kill"), 1);
+ if (proc_mgr.terminate (pid) == -1)
+ ACE_ERROR_RETURN ((LM_DEBUG, "(%P|%t) %p\n", "terminate"), 1);
// Perform a barrier wait until all the processes and threads
// have shut down.