diff options
author | jcej <jcej@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-09-22 03:14:02 +0000 |
---|---|---|
committer | jcej <jcej@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-09-22 03:14:02 +0000 |
commit | 251cb77e8da6e2c956a6fe929e3e6a0b0c3397fa (patch) | |
tree | 4b2fe438c5cd19dad7e9527174220e7fcc9daa4b /docs/tutorials/011/task.cpp | |
parent | 1273cca419871e8c04554dbf4b538f69453b3955 (diff) | |
download | ATCD-251cb77e8da6e2c956a6fe929e3e6a0b0c3397fa.tar.gz |
*** empty log message ***
Diffstat (limited to 'docs/tutorials/011/task.cpp')
-rw-r--r-- | docs/tutorials/011/task.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/tutorials/011/task.cpp b/docs/tutorials/011/task.cpp index c0e95d21921..76d77caf860 100644 --- a/docs/tutorials/011/task.cpp +++ b/docs/tutorials/011/task.cpp @@ -24,15 +24,15 @@ Task::~Task (void) message->release (); } -int +int Task::open (void *) { - return this->activate (THR_NEW_LWP, + return this->activate (THR_NEW_LWP, this->n_threads_); } -int +int Task::close (u_long flags) { ACE_DEBUG ((LM_DEBUG, @@ -41,7 +41,7 @@ Task::close (u_long flags) return inherited::close (flags); } -int +int Task::svc (void) { this->barrier_.wait (); @@ -70,7 +70,7 @@ Task::svc (void) const char *cp = message->rd_ptr (); // Don't forget to skip the NULL we inserted - message->rd_ptr (ACE_OS::strlen (cp) + 1); + message->rd_ptr (ACE_OS::strlen (cp) + 1); ACE_DEBUG ((LM_DEBUG, "(%P|%t) Block 0x%x contains (%s)\n", |