diff options
| author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-03-14 06:48:14 +0000 |
|---|---|---|
| committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-03-14 06:48:14 +0000 |
| commit | f31a5344236f5d2cd98ca436f569f65d7ba3dbb8 (patch) | |
| tree | 532d1fee3706319d8aecba9175934eddf85a4661 /examples/Threads/future1.cpp | |
| parent | 39be231338839e1b9788fa49d4889f07059e25b8 (diff) | |
| download | ATCD-f31a5344236f5d2cd98ca436f569f65d7ba3dbb8.tar.gz | |
*** empty log message ***
Diffstat (limited to 'examples/Threads/future1.cpp')
| -rw-r--r-- | examples/Threads/future1.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/Threads/future1.cpp b/examples/Threads/future1.cpp index 02441c44ca3..1f63bd14246 100644 --- a/examples/Threads/future1.cpp +++ b/examples/Threads/future1.cpp @@ -45,7 +45,7 @@ static ATOMIC_INT capsule_no (0); static ATOMIC_INT methodobject_count (0); static ATOMIC_INT methodobject_no (0); -class Scheduler : public ACE_Task<ACE_MT_SYNCH> +class Scheduler : public ACE_Task_Base // = TITLE // Active Object Scheduler. { @@ -154,10 +154,11 @@ class Method_Object_end : public ACE_Method_Object public: Method_Object_end (Scheduler *new_scheduler): scheduler_ (new_scheduler) {} virtual ~Method_Object_end (void) {} - virtual int call (void) { this->scheduler_->close (); return -1; } + virtual int call (void) { return -1; } private: Scheduler *scheduler_; + // Keep track of our scheduler. }; // Constructor. |
