summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-01-29 07:23:03 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-01-29 07:23:03 +0000
commitb4008291ca770da2d2dc76366ebfe67cef20eb21 (patch)
treeace890a72c95cf03e7514036e1a0d04b32367749 /ace
parent034d553edd0790fbed861e428ec8a23e0855d7e6 (diff)
downloadATCD-b4008291ca770da2d2dc76366ebfe67cef20eb21.tar.gz
*** empty log message ***
Diffstat (limited to 'ace')
-rw-r--r--ace/Thread_Priority.i33
-rw-r--r--ace/config-linux-lxpthreads.h3
2 files changed, 11 insertions, 25 deletions
diff --git a/ace/Thread_Priority.i b/ace/Thread_Priority.i
index e22ae865d8a..a76f7018ff9 100644
--- a/ace/Thread_Priority.i
+++ b/ace/Thread_Priority.i
@@ -33,50 +33,39 @@ ACE_Thread_Priority::~ACE_Thread_Priority ()
{
}
-ACE_INLINE
-long
-ACE_Thread_Priority::set_priority_class (const Priority_Class priority_class)
+ACE_INLINE long
+ACE_Thread_Priority::priority_class (const Priority_Class priority_class)
{
priority_class_ = priority_class;
return normalize ();
}
-ACE_INLINE
-long
-ACE_Thread_Priority::set_default_thread_priority (
- const Thread_Priority default_thread_priority)
+ACE_INLINE long ACE_Thread_Priority::default_thread_priority (const Thread_Priority default_thread_priority)
{
default_thread_priority_ = default_thread_priority;
return normalize ();
}
-ACE_INLINE
-ACE_Thread_Priority::Priority_Class
-ACE_Thread_Priority::priority_class () const
+ACE_INLINE ACE_Thread_Priority::Priority_Class
+ACE_Thread_Priority::priority_class (void) const
{
return priority_class_;
}
-ACE_INLINE
-ACE_Thread_Priority::Thread_Priority
-ACE_Thread_Priority::default_thread_priority () const
+ACE_INLINE ACE_Thread_Priority::Thread_Priority
+ACE_Thread_Priority::default_thread_priority (void) const
{
return default_thread_priority_;
}
-ACE_INLINE
-ACE_id_t
-ACE_Thread_Priority::os_priority_class () const
+ACE_INLINE ACE_id_t
+ACE_Thread_Priority::os_priority_class (void) const
{
return os_priority_class_;
}
-ACE_INLINE
-ACE_pri_t
-ACE_Thread_Priority::os_default_thread_priority () const
+ACE_INLINE ACE_pri_t
+ACE_Thread_Priority::os_default_thread_priority (void) const
{
return os_default_thread_priority_;
}
-
-
-// EOF
diff --git a/ace/config-linux-lxpthreads.h b/ace/config-linux-lxpthreads.h
index cc40e368a60..f65ddae8aaf 100644
--- a/ace/config-linux-lxpthreads.h
+++ b/ace/config-linux-lxpthreads.h
@@ -129,9 +129,6 @@
#define ACE_HAS_SIGWAIT
#define ACE_LACKS_CONDATTR_PSHARED
-// To use pthreads on Linux you'll need to use the MIT version, for
-// now...
-#define _MIT_POSIX_THREADS 1
#include /**/ <pthread.h>
#endif /* ACE_CONFIG_H */