summaryrefslogtreecommitdiff
path: root/ace/Thread_Manager.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-05-09 04:55:56 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-05-09 04:55:56 +0000
commit219c7b7470c11ddb5ac27acf0102a73531d73ab0 (patch)
treeb32bf9d335bfb489169ff4e48a944d481cb11775 /ace/Thread_Manager.h
parentf8742bc4e4d7078a2026349197ece22d2da00ee7 (diff)
downloadATCD-219c7b7470c11ddb5ac27acf0102a73531d73ab0.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Thread_Manager.h')
-rw-r--r--ace/Thread_Manager.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/ace/Thread_Manager.h b/ace/Thread_Manager.h
index ccba91ad235..7ba8a056ea3 100644
--- a/ace/Thread_Manager.h
+++ b/ace/Thread_Manager.h
@@ -152,6 +152,10 @@ public:
// treated as "absolute" time. Returns 0 on success and -1 on
// failure.
+ int wait_grp (int grp_id);
+ // Block until there are no more threads running in a group.
+ // Returns 0 on success and -1 on failure.
+
// = Accessors for ACE_Thread_Descriptors.
int thread_descriptor (ACE_thread_t, ACE_Thread_Descriptor &);
// Return the thread descriptor (indexed by ACE_thread_t). Returns 0 on
@@ -219,17 +223,10 @@ public:
// method resembles the old apply_thr() method, and suspend_task()
// resembles suspend_thr().
- int wait_task (ACE_Task_Base *task,
- const ACE_Time_Value *timeout = 0);
- // Block until there are no more threads running or <timeout>
- // expires in an ACE_Task. Returns 0 on success and -1 on failure.
-
- int wait_group (int grp_id,
- const ACE_Time_Value *timeout = 0);
- // Block until there are no more threads running or <timeout>
- // expires in a group. Returns 0 on success and -1 on failure.
-
// = Operations on ACE_Tasks.
+ int wait_task (ACE_Task_Base *task)
+ // Block until there are no more threads running in <task>. Returns
+ // 0 on success and -1 on failure.
int suspend_task (ACE_Task_Base *task);
// Suspend all threads in an ACE_Task.
int resume_task (ACE_Task_Base *task);
@@ -244,10 +241,10 @@ public:
// functionality.
int num_tasks_in_group (int grp_id);
- // Returns the number of ACE_Task in a group.
+ // Returns the number of <ACE_Task> in a group.
int num_threads_in_task (ACE_Task_Base *task);
- // Returns the number of threads in an ACE_Task.
+ // Returns the number of threads in an <ACE_Task>.
int task_list (int grp_id,
ACE_Task_Base *task_list[],