summaryrefslogtreecommitdiff
path: root/ace/Sched_Params.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-07-31 22:18:20 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-07-31 22:18:20 +0000
commit10f1729b65638f3f273f523861dd547ec6832e5f (patch)
treea49c98ad0d34bcb5a87c9f7fb1a256c7bf4df6dd /ace/Sched_Params.h
parent3e172150a24e32f471d10eb9a60eebb599de6f81 (diff)
downloadATCD-10f1729b65638f3f273f523861dd547ec6832e5f.tar.gz
ChangeLogTag:Sat Jul 31 12:07:48 1999 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
Diffstat (limited to 'ace/Sched_Params.h')
-rw-r--r--ace/Sched_Params.h57
1 files changed, 29 insertions, 28 deletions
diff --git a/ace/Sched_Params.h b/ace/Sched_Params.h
index 6817fd677d7..24ade4a5773 100644
--- a/ace/Sched_Params.h
+++ b/ace/Sched_Params.h
@@ -32,44 +32,45 @@ class ACE_Export ACE_Sched_Params
// Container for scheduling-related parameters.
//
// = DESCRIPTION
- // ACE_Sched_Params are passed via
- // ACE_OS::sched_params () to the OS to specify scheduling
- // parameters. These parameters include scheduling policy,
- // such as FIFO, round-robin, or an implementation-defined
- // "OTHER" (to which many systems default); priority; and
- // a time-slice quantum for round-robin scheduling.
- // A "scope" parameter specifies whether the ACE_Sched_Params
+ // ACE_Sched_Params are passed via <ACE_OS::sched_params> to the
+ // OS to specify scheduling parameters. These parameters include
+ // scheduling policy, such as FIFO (ACE_SCHED_FIFO), round-robin
+ // (ACE_SCHED_RR), or an implementation-defined "OTHER"
+ // (ACE_SCHED_OTHER), to which many systems default; priority;
+ // and a time-slice quantum for round-robin scheduling. A
+ // "scope" parameter specifies whether the ACE_Sched_Params
// applies to the current process, current lightweight process
// (LWP) (on Solaris), or current thread. Please see the "NOTE"
- // below about not all combinations of parameters being legal
- // on a particular platform.
+ // below about not all combinations of parameters being legal on
+ // a particular platform.
//
// For the case of thread priorities, it is intended that
- // ACE_OS::sched_params () usually be called from main () before
- // any threads have been spawned.
- // If spawned threads inherit their parent's priority (I think
- // that's the default behavior for all of our platforms), then
- // this sets the default base priority. Individual thread priorities
- // can be adjusted as usual using ACE_OS::thr_prio () or via the
- // ACE_Thread interface. See the parameter descriptions in the
- // private: section below.
+ // <ACE_OS::sched_params> usually be called from <main> before
+ // any threads have been spawned. If spawned threads inherit
+ // their parent's priority (I think that's the default behavior
+ // for all of our platforms), then this sets the default base
+ // priority. Individual thread priorities can be adjusted as
+ // usual using <ACE_OS::thr_prio> or via the ACE_Thread
+ // interface. See the parameter descriptions in the private:
+ // section below.
//
- // NOTE: this class does not do any checking of parameters.
- // It is just a container class. If it is constructed with values
+ // NOTE: this class does not do any checking of parameters. It
+ // is just a container class. If it is constructed with values
// that are not supported on a platform, the call to
- // ACE_OS::sched_params () will fail by returning -1 with EINVAL
- // (available through ACE_OS::last_error ()).
+ // <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
+ // 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
+ // 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
- // assistance with implementation, especially for PTHREADS platforms.
- // Please send any comments or corrections to the ACE developers.
+ // 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 assistance with
+ // implementation, especially for PTHREADS platforms. Please
+ // send any comments or corrections to the ACE developers.
public:
typedef int Policy;