summaryrefslogtreecommitdiff
path: root/ACE/ace/Thread_Adapter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Thread_Adapter.cpp')
-rw-r--r--ACE/ace/Thread_Adapter.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/ACE/ace/Thread_Adapter.cpp b/ACE/ace/Thread_Adapter.cpp
index ec43c7bc2d9..d72d0d2d010 100644
--- a/ACE/ace/Thread_Adapter.cpp
+++ b/ACE/ace/Thread_Adapter.cpp
@@ -112,22 +112,6 @@ ACE_Thread_Adapter::invoke_i ()
// not to access <this> anywhere below this point.
delete this;
-#if defined (ACE_NEEDS_LWP_PRIO_SET)
- // On SunOS, the LWP priority needs to be set in order to get
- // preemption when running in the RT class. This is the ACE way to
- // do that . . .
- ACE_hthread_t thr_handle;
- ACE_OS::thr_self (thr_handle);
- int prio;
-
- // thr_getprio () on the current thread should never fail.
- ACE_OS::thr_getprio (thr_handle, prio);
-
- // ACE_OS::thr_setprio () has the special logic to set the LWP priority,
- // if running in the RT class.
- ACE_OS::thr_setprio (prio);
-
-#endif /* ACE_NEEDS_LWP_PRIO_SET */
if (cancel_flags != 0)
{
// If both flags are set, ignore this.