diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-06-03 15:58:30 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-06-04 09:47:11 +0200 |
commit | 4d1f5008dbce6567e9501de8b7623b245c9f8283 (patch) | |
tree | efea6ce1b08f4c813e000307c7419aff1dc92e03 /cpukit/score/include/rtems/score/scheduleredf.h | |
parent | score: Replace _Scheduler_Allocate/Free() (diff) | |
download | rtems-4d1f5008dbce6567e9501de8b7623b245c9f8283.tar.bz2 |
score: Rename _Scheduler_Update()
Rename _Scheduler_Update() to _Scheduler_Update_priority(). Add
parameter for the new thread priority to avoid direct usage of
Thread_Control::current_priority in the scheduler operation.
Diffstat (limited to 'cpukit/score/include/rtems/score/scheduleredf.h')
-rw-r--r-- | cpukit/score/include/rtems/score/scheduleredf.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/scheduleredf.h b/cpukit/score/include/rtems/score/scheduleredf.h index a7ed88db39..7a20b5b031 100644 --- a/cpukit/score/include/rtems/score/scheduleredf.h +++ b/cpukit/score/include/rtems/score/scheduleredf.h @@ -48,7 +48,7 @@ extern "C" { _Scheduler_EDF_Change_priority, /* change priority entry point */ \ _Scheduler_EDF_Node_initialize, /* node initialize entry point */ \ _Scheduler_default_Node_destroy, /* node destroy entry point */ \ - _Scheduler_EDF_Update, /* update entry point */ \ + _Scheduler_EDF_Update_priority, /* update priority entry point */ \ _Scheduler_EDF_Priority_compare, /* compares two priorities */ \ _Scheduler_EDF_Release_job, /* new period of task */ \ _Scheduler_default_Tick, /* tick entry point */ \ @@ -161,9 +161,10 @@ void _Scheduler_EDF_Node_initialize( * @param[in] the_thread will have its scheduler specific information * structure updated. */ -void _Scheduler_EDF_Update( +void _Scheduler_EDF_Update_priority( const Scheduler_Control *scheduler, - Thread_Control *the_thread + Thread_Control *the_thread, + Priority_Control new_priority ); /** |