summaryrefslogtreecommitdiff
path: root/examples/Threads/task_four.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-06-19 00:42:41 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-06-19 00:42:41 +0000
commitb9132bc57529d692622d2924840b63ccdb7329d0 (patch)
tree8079893b6c199e147635d9f4a4cdaac62dda55ca /examples/Threads/task_four.cpp
parent87f8a8ec1209d70f86e26c3de05d77942b98d2ca (diff)
downloadATCD-b9132bc57529d692622d2924840b63ccdb7329d0.tar.gz
(svc): fixed typo, n_tasks instead of ntasks
Diffstat (limited to 'examples/Threads/task_four.cpp')
-rw-r--r--examples/Threads/task_four.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Threads/task_four.cpp b/examples/Threads/task_four.cpp
index 156aec18551..9627606ae8d 100644
--- a/examples/Threads/task_four.cpp
+++ b/examples/Threads/task_four.cpp
@@ -177,7 +177,7 @@ Invoker_Task::svc (void)
ACE_ERROR ((LM_DEBUG, " (%t) %p\n", "set_grp"));
size_t n_tasks = thr_mgr->num_tasks_in_group (1);
- ACE_DEBUG ((LM_DEBUG, "Number of tasks in group 1: %d\n", ntasks)) ;
+ ACE_DEBUG ((LM_DEBUG, "Number of tasks in group 1: %d\n", n_tasks)) ;
// Wait for 1 second and then suspend every thread in the group.
ACE_OS::sleep (1);