summaryrefslogtreecommitdiff
path: root/ace/Task.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-12-21 19:26:46 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-12-21 19:26:46 +0000
commit9e9254f32711d4ecf1e3f71b54982eaf6845388e (patch)
tree760551d54bece3e52d2f1cd3d05b26d9c1c1439b /ace/Task.h
parent4ecd5d0edb663fdba4935912ccdbbf79a66482ae (diff)
downloadATCD-9e9254f32711d4ecf1e3f71b54982eaf6845388e.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Task.h')
-rw-r--r--ace/Task.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/ace/Task.h b/ace/Task.h
index 4e1cab43b08..dbf562b830d 100644
--- a/ace/Task.h
+++ b/ace/Task.h
@@ -21,6 +21,8 @@
#include "ace/Thread_Manager.h"
class ACE_Export ACE_Task_Flags
+{
+public:
// = TITLE
// These flags are used within the ACE_Task.
//
@@ -29,8 +31,6 @@ class ACE_Export ACE_Task_Flags
// HP/UX C++ compiler can't grok this... Fortunately, there's no
// code defined here, so we don't have to worry about multiple
// definitions.
-{
-public:
enum
{
ACE_READER = 01, // Identifies a Task as being the "reader" in a Module.
@@ -43,6 +43,7 @@ public:
};
class ACE_Export ACE_Task_Base : public ACE_Service_Object
+{
// = TITLE
// Direct base class for the ACE_Task template.
//
@@ -51,12 +52,14 @@ class ACE_Export ACE_Task_Base : public ACE_Service_Object
// reduce template bloat, as well as to make it possible for the
// <ACE_Thread_Manager> to store <ACE_Task_Base> *'s
// polymorphically.
-{
public:
// = Initialization method.
ACE_Task_Base (ACE_Thread_Manager *);
- // = Initialization and termination hooks (note that these *must* be defined by subclasses).
+ // = Initialization and termination hooks
+
+ // Note that these methods *must* be defined by subclasses.
+
virtual int open (void *args = 0);
// Hook called to open a Task. <args> can be used to pass arbitrary
// information into <open>.