diff options
Diffstat (limited to 'examples/Threads/task_five.cpp')
-rw-r--r-- | examples/Threads/task_five.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/Threads/task_five.cpp b/examples/Threads/task_five.cpp index 3d302805d62..479be53deac 100644 --- a/examples/Threads/task_five.cpp +++ b/examples/Threads/task_five.cpp @@ -27,7 +27,7 @@ static const int DEFAULT_TASKS = 100; static const int DEFAULT_ITERATIONS = 10; // Default stack size -static size_t default_stack_size = +static size_t default_stack_size = #if defined (ACE_WIN32) 0; #else @@ -97,7 +97,7 @@ Test_Task::synch (void) return thr_mgr_->wait_grp (grp_id_); } -static void +static void work (ACE_Thread_Manager *thr_mgr, int n_tasks, size_t stack_size) @@ -171,5 +171,5 @@ main (int argc, char *argv[]) n_tasks, stack_size); - return 0; + ACE_NOTREACHED (return 0); } |