summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-03-05 19:12:05 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-03-05 19:12:05 +0000
commitf80e9abc24cf64c9dd5da2063853636069311cd9 (patch)
tree9bf16794d16517eb0f52d6749ffa5c5e972eab1d
parent7b92c070cb580117845fbae865848fc137bf2c77 (diff)
downloadATCD-posix_thread_priority.tar.gz
fixed some comments, at Thilo's suggestionposix_thread_priority
-rw-r--r--ace/Sched_Params.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/ace/Sched_Params.h b/ace/Sched_Params.h
index a79670a8a66..4d95b8f1017 100644
--- a/ace/Sched_Params.h
+++ b/ace/Sched_Params.h
@@ -93,7 +93,8 @@ public:
void quantum (const ACE_Time_Value &);
// = Accessors for OS-specific priorities.
- // These return ACE_SCHED_OTHER if the Policy value is invalid.
+ // 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);
static int priority_max (const Policy,
@@ -105,7 +106,8 @@ public:
// The next higher priority. "Higher" refers to scheduling priority,
// not to the priority value itself. (On some platforms, higher scheduling
// priority is indicated by a lower priority value.) If "priority" is
- // the highest priority (for the specified policy), then it is returned.
+ // already the highest priority (for the specified policy), then it is
+ // returned.
static int previous_priority (const Policy,
const int priority,
@@ -113,7 +115,8 @@ public:
// The previous, lower priority. "Lower" refers to scheduling priority,
// not to the priority value itself. (On some platforms, lower scheduling
// priority is indicated by a higher priority value.) If "priority" is
- // the lowest priority (for the specified policy), then it is returned.
+ // already the lowest priority (for the specified policy), then it is
+ // returned.
private:
Policy policy_;