summaryrefslogtreecommitdiff
path: root/ace/Sched_Params.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-18 19:25:52 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-18 19:25:52 +0000
commit9848281553fe61220e928c5d0de5dbdc4ff23ae8 (patch)
treeb393570e085405197880b7c1078cda838250b479 /ace/Sched_Params.h
parentc72e9cf86733290d7869aa0ff3903f0f6ab1c299 (diff)
downloadATCD-9848281553fe61220e928c5d0de5dbdc4ff23ae8.tar.gz
added support on Solaris for setting LWP priority
Diffstat (limited to 'ace/Sched_Params.h')
-rw-r--r--ace/Sched_Params.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ace/Sched_Params.h b/ace/Sched_Params.h
index 05d738eeb88..22d0582353d 100644
--- a/ace/Sched_Params.h
+++ b/ace/Sched_Params.h
@@ -56,6 +56,11 @@ class ACE_Export ACE_Sched_Params
// ACE_OS::sched_params () will fail by returning -1 with EINVAL
// (available through ACE_OS::last_error ()).
+ // NOTE: Solaris 2.5.x threads in the RT class must set the
+ // priority of their LWP. The only way to do that through ACE is
+ // for the RT thread itself to call ACE_OS::thr_setprio () with
+ // it's own priority.
+
// OS Scheduling parameters are complicated and often confusing. Many
// thanks to Thilo Kielmann <kielmann@informatik.uni-siegen.de> for his
// careful review of this class design, thoughtful comments, and
@@ -93,7 +98,7 @@ public:
void quantum (const ACE_Time_Value &);
// = Accessors for OS-specific priorities.
- // These return priority values for ACE_SCHED_OTHER if the Policy value
+ // These return priority values for ACE_SCHED_OTHER if the Policy value
// is invalid.
static int priority_min (const Policy,
const int scope = ACE_SCOPE_THREAD);