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

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

 > +  _MPCP_Set_owner( mpcp, executing );
 > +  cpu_self = _Thread_queue_Dispatch_disable( queue_context );
 > +  _MPCP_Release( mpcp, queue_context );
 > +  _Thread_Priority_update( queue_context );
 > +  _Thread_Dispatch_enable( cpu_self );
 > +
 > +  return STATUS_SUCCESSFUL;
 > +}
 > +
 > +/**
 > + * @brief Initializes a MPCP control.
 > + *
 > + * @param[out] mpcp The MPCP control that is initialized.
 > + * @param scheduler The scheduler for the operation.
 > + * @param ceiling_priority The initial ceiling priority of the MPCP control.
 > + * @param executing The currently executing thread.  Ignored in this method.

I don't think it's ignored, if it gets passed to another function?

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


More information about the bugs mailing list