summaryrefslogtreecommitdiff
path: root/ace/Task.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-10-29 07:40:16 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-10-29 07:40:16 +0000
commit5036e0a0f727dd809b932b41dda3989c0f47e2fd (patch)
treeaf7834a0f9e9046c65f6260a03a8a58cca7c7f5b /ace/Task.h
parent60aa7663705dd9338f66fb28384e8b31900434bb (diff)
downloadATCD-5036e0a0f727dd809b932b41dda3989c0f47e2fd.tar.gz
Jamming
Diffstat (limited to 'ace/Task.h')
-rw-r--r--ace/Task.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/ace/Task.h b/ace/Task.h
index 5290c67b354..dcd3d1f7a88 100644
--- a/ace/Task.h
+++ b/ace/Task.h
@@ -95,7 +95,8 @@ public:
int n_threads = 1,
int force_active = 0,
u_int priority = 0,
- int grp_id = -1);
+ int grp_id = -1,
+ ACE_Task<ACE_SYNCH_2> *task = NULL);
// Turn the task into an active object, i.e., having <n_threads> of
// control, all running at the <priority> level with the same
// <grp_id>, all of which invoke <Task::svc>. Returns -1 if failure
@@ -252,9 +253,12 @@ public:
ACE_Task_Exit (void);
// Capture the Task object that will be cleaned up automatically.
- void set_this (ACE_Task<ACE_SYNCH_2> *t);
+ void set_task (ACE_Task<ACE_SYNCH_2> *t);
// Set the this pointer...
+ ACE_Task<ACE_SYNCH_2>* get_task (void);
+ // Get the pointer to the ACE_Task.
+
void *status (void *s);
// Set the exit status.