summaryrefslogtreecommitdiff
path: root/examples/Threads
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-04 13:55:24 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-04 13:55:24 +0000
commit1a3d63be7745c49ead32abb777800789494f72df (patch)
tree10cbf33fd5d8d8ed2638e5892c890d9dc2709944 /examples/Threads
parent3d0effde86ec1cea2fd062f08d5beed6e92c4fae (diff)
downloadATCD-1a3d63be7745c49ead32abb777800789494f72df.tar.gz
(Invoker_Task): rearranged initializers to match declaration order
Diffstat (limited to 'examples/Threads')
-rw-r--r--examples/Threads/task_four.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/Threads/task_four.cpp b/examples/Threads/task_four.cpp
index 3710ff1a827..a121d310ece 100644
--- a/examples/Threads/task_four.cpp
+++ b/examples/Threads/task_four.cpp
@@ -127,10 +127,10 @@ Invoker_Task::Invoker_Task (ACE_Thread_Manager *thr_mgr,
size_t n_tasks,
size_t n_threads,
size_t n_iterations)
- : n_tasks_ (n_tasks),
+ : ACE_Task<ACE_MT_SYNCH> (thr_mgr),
+ n_tasks_ (n_tasks),
n_threads_ (n_threads),
- n_iterations_ (n_iterations),
- ACE_Task<ACE_MT_SYNCH> (thr_mgr)
+ n_iterations_ (n_iterations)
{
// Create worker threads.
if (this->activate (THR_NEW_LWP, 1, 0, -1, -1, this) == -1)