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

Ivy Zhuang (@purple-affogato) gitlab at rtems.org
Thu Jul 23 06:20:21 UTC 2026




Ivy Zhuang commented on a discussion on cpukit/include/rtems/score/mpcpimpl.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1358#note_155179

 > +  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.

After some thinking, I went with "MPCP mutex" where it made sense. I kept "MPCP Control" in some places where it mainly refers to the MPCP_Control struct.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1358#note_155179
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-2hngfnf7iutzq2yijx99unv6f-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/20260723/95aa595c/attachment.htm>


More information about the bugs mailing list