summaryrefslogtreecommitdiff
path: root/ace/Thread.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-16 17:57:35 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-04-16 17:57:35 +0000
commit20ed9d12258ba5250f0bd27c374a1836ec9678cc (patch)
treec38dbd5e8836b7f1cc210a61c5228e8b9fd587ed /ace/Thread.h
parent6e3819d1ab25897551c493f7481007f4b7e8dabc (diff)
downloadATCD-20ed9d12258ba5250f0bd27c374a1836ec9678cc.tar.gz
ChangeLogTag: Wed Apr 16 13:44:47 2003 Irfan Pyarali <irfan@oomworks.com>
Diffstat (limited to 'ace/Thread.h')
-rw-r--r--ace/Thread.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/ace/Thread.h b/ace/Thread.h
index 30cbc611097..48f960da386 100644
--- a/ace/Thread.h
+++ b/ace/Thread.h
@@ -147,10 +147,13 @@ public:
static int suspend (ACE_hthread_t);
/// Get the priority of a particular thread.
- static int getprio (ACE_hthread_t, int &prio);
+ static int getprio (ACE_hthread_t id, int &priority);
+
+ /// Get the priority and policy of a particular thread.
+ static int getprio (ACE_hthread_t id, int &priority, int &policy);
/// Set the priority of a particular thread.
- static int setprio (ACE_hthread_t, int prio);
+ static int setprio (ACE_hthread_t id, int priority, int policy = -1);
/// Send a signal to the thread.
static int kill (ACE_thread_t, int signum);