diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-10-16 16:52:00 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-10-16 16:52:00 +0000 |
commit | 11973aa051f48b85b3520bd97635164d7a4f4a4f (patch) | |
tree | 07acf5736f5a5ee2711d977c98cbf4f69935a6f9 /ace/Thread_Manager.h | |
parent | 974f3c1f53d2f12ac39afd37bd243b22be762cef (diff) | |
download | ATCD-11973aa051f48b85b3520bd97635164d7a4f4a4f.tar.gz |
ChangeLogTag:Wed Oct 16 11:44:27 2002 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'ace/Thread_Manager.h')
-rw-r--r-- | ace/Thread_Manager.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/ace/Thread_Manager.h b/ace/Thread_Manager.h index 4de99efa8a1..3340897af32 100644 --- a/ace/Thread_Manager.h +++ b/ace/Thread_Manager.h @@ -671,7 +671,10 @@ public: /// Suspend a group of threads. int suspend_grp (int grp_id); - /// True if <t_id> is inactive (i.e., suspended), else false. + /** + * True if <t_id> is inactive (i.e., suspended), else false. Always + * return false if <t_id> is not managed by the Thread_Manager. + */ int testsuspend (ACE_thread_t t_id); // = Resume methods, which isn't supported on POSIX pthreads (will not block). @@ -684,7 +687,10 @@ public: /// Resume a group of threads. int resume_grp (int grp_id); - /// True if <t_id> is active (i.e., resumed), else false. + /** + * True if <t_id> is active (i.e., resumed), else false. Always + * return false if <t_id> is not managed by the Thread_Manager. + */ int testresume (ACE_thread_t t_id); // = Send signals to one or more threads without blocking. @@ -719,7 +725,8 @@ public: int cancel_grp (int grp_id, int async_cancel = 0); /** - * True if <t_id> is cancelled, else false. + * True if <t_id> is cancelled, else false. Always return false if + * <t_id> is not managed by the Thread_Manager. */ int testcancel (ACE_thread_t t_id); |