diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-16 17:57:35 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-16 17:57:35 +0000 |
commit | 20ed9d12258ba5250f0bd27c374a1836ec9678cc (patch) | |
tree | c38dbd5e8836b7f1cc210a61c5228e8b9fd587ed /TAO/tao/params.h | |
parent | 6e3819d1ab25897551c493f7481007f4b7e8dabc (diff) | |
download | ATCD-20ed9d12258ba5250f0bd27c374a1836ec9678cc.tar.gz |
ChangeLogTag: Wed Apr 16 13:44:47 2003 Irfan Pyarali <irfan@oomworks.com>
Diffstat (limited to 'TAO/tao/params.h')
-rw-r--r-- | TAO/tao/params.h | 59 |
1 files changed, 55 insertions, 4 deletions
diff --git a/TAO/tao/params.h b/TAO/tao/params.h index f0f8d226a8f..f7e44bcbfbf 100644 --- a/TAO/tao/params.h +++ b/TAO/tao/params.h @@ -137,14 +137,43 @@ public: int std_profile_components (void) const; void std_profile_components (int x); - /// Thread scheduling policy. + /// Scheduling policy. + /** + * Scheduling policy specified by the user through the + * -ORBSchedPolicy option. This value is typically used by + * functions like ACE_OS::thr_setprio() and + * ACE_Sched_Params::priority_min(). Legal values are ACE_SCHED_RR, + * ACE_SCHED_FIFO, and ACE_SCHED_OTHER. + */ + int ace_sched_policy (void) const; + void ace_sched_policy (int x); + + /// Scheduling policy flag. + /** + * Scheduling policy specified by the user through the + * -ORBSchedPolicy option. This value is typically used by ACE + * thread creation functions. Legal values are THR_SCHED_RR, + * THR_SCHED_FIFO, and THR_SCHED_DEFAULT. + */ long sched_policy (void) const; void sched_policy (long x); - /// Thread scope policy. + /// Scheduling scope flag. + /** + * Scheduling policy specified by the user through the + * -ORBScopePolicy option. This value is typically used by ACE + * thread creation functions. Legal values are THR_SCOPE_SYSTEM and + * THR_SCOPE_PROCESS. + */ long scope_policy (void) const; void scope_policy (long x); + /// Thread creation flags. + /** + * Shorthand for OR'ing together the scope_policy and sched_policy. + */ + long thread_creation_flags (void) const; + /// Single read optimization. int single_read_optimization (void) const; void single_read_optimization (int x); @@ -209,10 +238,32 @@ private: /// If true then the standard OMG components are not generated. int std_profile_components_; - /// Thread scheduling policy. + /// Scheduling policy. + /** + * Scheduling policy specified by the user through the + * -ORBSchedPolicy option. This value is typically used by + * functions like ACE_OS::thr_setprio() and + * ACE_Sched_Params::priority_min(). Legal values are ACE_SCHED_RR, + * ACE_SCHED_FIFO, and ACE_SCHED_OTHER. + */ + int ace_sched_policy_; + + /// Scheduling policy flag. + /** + * Scheduling policy specified by the user through the + * -ORBSchedPolicy option. This value is typically used by ACE + * thread creation functions. Legal values are THR_SCHED_RR, + * THR_SCHED_FIFO, and THR_SCHED_DEFAULT. + */ long sched_policy_; - /// Thread scope policy. + /// Scheduling scope flag. + /** + * Scheduling policy specified by the user through the + * -ORBScopePolicy option. This value is typically used by ACE + * thread creation functions. Legal values are THR_SCOPE_SYSTEM and + * THR_SCOPE_PROCESS. + */ long scope_policy_; /// Single read optimization. |