diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-05 21:12:06 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-05 21:12:06 +0000 |
commit | 7aa4671d9113600cb40f53ea8aa67216eba81d9a (patch) | |
tree | 5e64ec8812c6d61921e989d1db991754ca2d9667 /cpukit/score/include | |
parent | fixed spacing (diff) | |
download | rtems-7aa4671d9113600cb40f53ea8aa67216eba81d9a.tar.bz2 |
added cpu_time_budget field to Thread_Control and removed the global variable
_Thread_Ticks_remaining_in_timeslice.
Diffstat (limited to 'cpukit/score/include')
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index a0fa5059be..b6332d6a74 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -150,6 +150,7 @@ typedef struct { /****************** end of common block ********************/ boolean is_global; boolean do_post_task_switch_extension; + unsigned32 cpu_time_budget; Chain_Control *ready; Priority_Information Priority_map; Thread_Start_information Start; @@ -210,10 +211,9 @@ SCORE_EXTERN unsigned32 _Thread_Dispatch_disable_level; SCORE_EXTERN unsigned32 _Thread_Maximum_extensions; /* - * The following data items are used to manage timeslicing. + * The following is used to manage the length of a timeslice quantum. */ -SCORE_EXTERN unsigned32 _Thread_Ticks_remaining_in_timeslice; SCORE_EXTERN unsigned32 _Thread_Ticks_per_timeslice; /* |