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


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to