diff options
Diffstat (limited to 'docs/tutorials/013/message_queue.cpp')
-rw-r--r-- | docs/tutorials/013/message_queue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/013/message_queue.cpp b/docs/tutorials/013/message_queue.cpp index 5238bd00ccb..4635304a460 100644 --- a/docs/tutorials/013/message_queue.cpp +++ b/docs/tutorials/013/message_queue.cpp @@ -14,9 +14,9 @@ int run_test (int iterations, int threads, int subtasks) // task.{h|cpp} for more details. Task *task = new Task (subtasks); - if (task->open (threads) == -1) + if (task->start (threads) == -1) { - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "open"), -1); + ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "start"), -1); } // Give the threads a chance to get ready. |