summaryrefslogtreecommitdiff
path: root/ace/Thread.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-15 16:37:56 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-15 16:37:56 +0000
commit38a7f5bae22d9f3b15804dff59cf26196ccd9838 (patch)
tree86f79d11a34fffee808483f8285213302a79680e /ace/Thread.h
parent52919f93f28803aa9e0efe79e5c675cb8884f48f (diff)
downloadATCD-38a7f5bae22d9f3b15804dff59cf26196ccd9838.tar.gz
,
, ,
Diffstat (limited to 'ace/Thread.h')
-rw-r--r--ace/Thread.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/ace/Thread.h b/ace/Thread.h
index c1ad50af2d6..8d71fb8a29d 100644
--- a/ace/Thread.h
+++ b/ace/Thread.h
@@ -22,11 +22,11 @@
class ACE_Export ACE_Thread
{
// = TITLE
- // Provides a wrapper for threads.
+ // Provides a wrapper for threads.
//
// = DESCRIPTION
- // This class provides a common interface that is mapped onto
- // either POSIX Pthreads, Solaris threads, or Win32 threads.
+ // This class provides a common interface that is mapped onto
+ // either POSIX Pthreads, Solaris threads, or Win32 threads.
public:
static int spawn (ACE_THR_FUNC func,
@@ -77,9 +77,13 @@ public:
// spawned (if this doesn't equal the number requested then
// something has gone wrong and <errno> will explain...).
+ static int join (const ACE_Thread_ID &,
+ void **status = 0);
+ // Wait for one or more threads to exit.
+
static int join (ACE_thread_t,
ACE_thread_t *,
- void ** = 0);
+ void **status = 0);
// Wait for one or more threads to exit.
static int join (ACE_hthread_t,
@@ -92,7 +96,7 @@ public:
static int suspend (ACE_hthread_t);
// Suspend the execution of a particular thread.
- static int getprio (ACE_hthread_t, int *prio);
+ static int getprio (ACE_hthread_t, int &prio);
// Get the priority of a particular thread.
static int setprio (ACE_hthread_t, int prio);