summaryrefslogtreecommitdiff
path: root/docs/tutorials/010/task.cpp
diff options
context:
space:
mode:
authorjcej <jcej@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-09-22 03:14:02 +0000
committerjcej <jcej@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-09-22 03:14:02 +0000
commit251cb77e8da6e2c956a6fe929e3e6a0b0c3397fa (patch)
tree4b2fe438c5cd19dad7e9527174220e7fcc9daa4b /docs/tutorials/010/task.cpp
parent1273cca419871e8c04554dbf4b538f69453b3955 (diff)
downloadATCD-251cb77e8da6e2c956a6fe929e3e6a0b0c3397fa.tar.gz
*** empty log message ***
Diffstat (limited to 'docs/tutorials/010/task.cpp')
-rw-r--r--docs/tutorials/010/task.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/tutorials/010/task.cpp b/docs/tutorials/010/task.cpp
index 8fa62ee0e7c..238b1882727 100644
--- a/docs/tutorials/010/task.cpp
+++ b/docs/tutorials/010/task.cpp
@@ -32,7 +32,7 @@ Task::~Task (void)
/* Open the object to do work. Next, we activate the Task into the
number of requested threads. */
-int
+int
Task::open (void *unused)
{
ACE_UNUSED_ARG (unused);
@@ -43,7 +43,7 @@ Task::open (void *unused)
/* Tell the user we're closing and invoke the baseclass' close() to
take care of things. */
-int
+int
Task::close (u_long flags)
{
ACE_DEBUG ((LM_DEBUG,
@@ -54,7 +54,7 @@ Task::close (u_long flags)
/* Our svc() method waits for work on the queue and then processes
that work. */
-int
+int
Task::svc (void)
{
/* This will cause all of the threads to wait on this line until all
@@ -102,7 +102,7 @@ Task::svc (void)
useful here since we won't be reading any more from the block
but it's a good habit to get into. */
message->rd_ptr (ACE_OS::strlen (cp));
-
+
/* Display the block's address and data to the user. */
ACE_DEBUG ((LM_DEBUG,
"(%P|%t) Block 0x%x contains (%s)\n",