From 7aa4671d9113600cb40f53ea8aa67216eba81d9a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 5 Jun 1996 21:12:06 +0000 Subject: added cpu_time_budget field to Thread_Control and removed the global variable _Thread_Ticks_remaining_in_timeslice. --- cpukit/score/include/rtems/score/thread.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/score/include') 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; /* -- cgit v1.2.3