[PATCH] icpp remedy
Joel Sherrill
joel at rtems.org
Tue Sep 13 13:35:30 UTC 2022
What is this a remedy for?
Why isn't the helper method OK to use?
--joel
On Tue, Sep 13, 2022 at 7:41 AM Strange369 <junjie.shi at tu-dortmund.de>
wrote:
> ---
> cpukit/include/rtems/score/coremuteximpl.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/cpukit/include/rtems/score/coremuteximpl.h
> b/cpukit/include/rtems/score/coremuteximpl.h
> index d489a0d946..72d32f8030 100644
> --- a/cpukit/include/rtems/score/coremuteximpl.h
> +++ b/cpukit/include/rtems/score/coremuteximpl.h
> @@ -445,7 +445,7 @@ RTEMS_INLINE_ROUTINE Status_Control
> _CORE_ceiling_mutex_Set_owner(
> scheduler_node = _Thread_Scheduler_get_home_node( owner );
>
> if (
> - _Priority_Get_priority( &scheduler_node->Wait.Priority )
> + owner->Real_priority.priority
> < the_mutex->Priority_ceiling.priority
> ) {
> _Thread_Wait_release_default_critical( owner, &lock_context );
> --
> 2.25.1
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20220913/d1cfaae8/attachment.htm>
More information about the devel
mailing list