[PATCH v2] score: PR2136: Fix _Thread_Change_priority()

Gedare Bloom gedare at rtems.org
Mon Aug 12 14:11:35 UTC 2013


On Fri, Aug 9, 2013 at 2:35 AM, Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
<snip>
> @@ -59,10 +60,12 @@ void _Scheduler_Handler_initialization( void );
>   *
>   * This kernel routine implements the scheduling decision logic for
>   * the scheduler. It does NOT dispatch.
> + *
> + * @param[in] thread The thread which state changed previously.
>   */
> -RTEMS_INLINE_ROUTINE void _Scheduler_Schedule( void )
> +RTEMS_INLINE_ROUTINE void _Scheduler_Schedule( Thread_Control *thread )
>  {
> -  _Scheduler.Operations.schedule();
> +  _Scheduler.Operations.schedule( thread );
>  }
>
Can this "thread" parameter be used to "Update" the per-thread
scheduler metadata and obviate the call to _Scheduler_Update?

-Gedare



More information about the devel mailing list