summaryrefslogtreecommitdiff
path: root/docs/tutorials/012/task.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorials/012/task.cpp')
-rw-r--r--docs/tutorials/012/task.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorials/012/task.cpp b/docs/tutorials/012/task.cpp
index 06231e309b0..aea14e86a25 100644
--- a/docs/tutorials/012/task.cpp
+++ b/docs/tutorials/012/task.cpp
@@ -42,7 +42,7 @@ Task::~Task (void)
get here. We then pass the thread count through to our base class'
activate().
*/
-int Task::open (int threads)
+int Task::start (int threads)
{
barrier_ = new ACE_Barrier (threads);
return this->activate (THR_NEW_LWP, threads);