RTEMS | SMP: Add support for the MPCP locking protocol (!1358)

Gedare Bloom (@gedare) gitlab at rtems.org
Wed Jul 22 00:34:07 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_154975

 > +  return mpcp->Wait_queue.Queue.owner;
 > +}
 > +
 > +/**
 > + * @brief Sets owner of the MPCP control.
 > + *
 > + * @param[out] mpcp The MPCP control to set the owner of.
 > + * @param owner The desired new owner for @a mpcp.
 > + */
 > +static inline void _MPCP_Set_owner( MPCP_Control *mpcp, Thread_Control *owner )
 > +{
 > +  mpcp->Wait_queue.Queue.owner = owner;
 > +}
 > +
 > +/**
 > + * @brief Gets priority of the MPCP control.

I think maybe calling it MPCP instance is better than control

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1358#note_154975
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-8659skw5polrdynpjn944riy1-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/96745f7a/attachment.htm>


More information about the bugs mailing list