diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-02-14 18:37:54 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2001-02-14 18:37:54 +0000 |
commit | 811e8c4502cec33ef8b239b20f55cf0f608cf9e7 (patch) | |
tree | 0750102651dcaeadfafe9f217252c03e3807189f /ace/Thread_Manager.h | |
parent | b1e7f61661729a95cf02489e00d1e15ab706c33f (diff) | |
download | ATCD-811e8c4502cec33ef8b239b20f55cf0f608cf9e7.tar.gz |
ChangeLogTag:Wed Feb 14 05:28:59 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'ace/Thread_Manager.h')
-rw-r--r-- | ace/Thread_Manager.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ace/Thread_Manager.h b/ace/Thread_Manager.h index d1b2171e208..4b8e06518ec 100644 --- a/ace/Thread_Manager.h +++ b/ace/Thread_Manager.h @@ -181,14 +181,14 @@ public: int operator!= (const ACE_Thread_Descriptor_Base &rhs) const; /// Group ID. - int grp_id (void); + int grp_id (void) const; /// Current state of the thread. - ACE_UINT32 state (void); - + ACE_UINT32 state (void) const; + /// Return the pointer to an <ACE_Task_Base> or NULL if there's no /// <ACE_Task_Base> associated with this thread.; - ACE_Task_Base *task (void); + ACE_Task_Base *task (void) const; protected: /// Reset this base thread descriptor. @@ -236,7 +236,7 @@ public: // = Accessor methods. /// Unique thread id. - ACE_thread_t self (void); + ACE_thread_t self (void) const; /// Unique handle to thread (used by Win32 and AIX). void self (ACE_hthread_t &); @@ -299,7 +299,7 @@ public: * of g++ couldn't grok this code without it. */ ACE_INLINE_FOR_GNUC void set_next (ACE_Thread_Descriptor *td); - ACE_INLINE_FOR_GNUC ACE_Thread_Descriptor *get_next (void); + ACE_INLINE_FOR_GNUC ACE_Thread_Descriptor *get_next (void) const; private: /// Reset this thread descriptor. |