RTEMS | SMP: Add support for the MPCP locking protocol (!1358)
Gedare Bloom (@gedare)
gitlab at rtems.org
Wed Jul 22 00:34:09 UTC 2026
Gedare Bloom started a new discussion on cpukit/include/rtems/score/mpcpimpl.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1358#note_154976
> + *
> + * @return The priority of the MPCP control.
> + */
> +static inline Priority_Control _MPCP_Get_priority(
> + const MPCP_Control *mpcp,
> + const Scheduler_Control *scheduler
> +)
> +{
> + uint32_t scheduler_index;
> +
> + scheduler_index = _Scheduler_Get_index( scheduler );
> + return mpcp->ceiling_priorities[ scheduler_index ];
> +}
> +
> +/**
> + * @brief Sets priority of the MPCP control.
ceiling priority?
and it's for a specific scheduler, not the entire mpcp instance?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1358#note_154976
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-7h8edd386tqzm4eviyab73u3m-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260722/f2049446/attachment-0001.htm>
More information about the bugs
mailing list