diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2023-01-18 10:14:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-18 10:14:13 +0100 |
commit | dfc5c60f27c6ea1f566b1819ebbc3d979c19ffad (patch) | |
tree | 8ed59abfe6eaabafec257cda3b99bd617ec5d18c /ACE/ace/Thread_Adapter.cpp | |
parent | 956dcabf4bdd4fb3ec1be53c392398b495af27cf (diff) | |
parent | d97b6edbeeb9a007f65e10e069a753bc087e998f (diff) | |
download | ATCD-dfc5c60f27c6ea1f566b1819ebbc3d979c19ffad.tar.gz |
Merge pull request #2035 from jwillemsen/jwi-cleanupsolaris
Cleanup Solaris support
Diffstat (limited to 'ACE/ace/Thread_Adapter.cpp')
-rw-r--r-- | ACE/ace/Thread_Adapter.cpp | 16 |
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. |