RTEMS | SMP: Add FMLP-Short and FMLP-Long locking protocols (!882)
Gedare Bloom (@gedare)
gitlab at rtems.org
Mon Apr 27 20:04:38 UTC 2026
Gedare Bloom commented on a discussion on cpukit/include/rtems/rtems/attr.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/882#note_149095
> +#define RTEMS_FLEXIBLE_MULTIPROCESSOR_LOCKING_LONG 0x00000400
> +
> +/* Generated from spec:/rtems/attr/if/flexible-multiprocessor-locking-short */
> +
> +/**
> + * @ingroup RTEMSAPIClassicAttr
> + *
> + * @brief This attribute constant indicates that the Classic API semaphore
> + * created by rtems_semaphore_create() shall use the Flexible Multiprocessor
> + * Locking Protocol - Short variant (FMLP-S).
> + *
> + * @par Notes
> + * The FMLP-S uses non-preemptive execution for short critical sections. The
> + * semaphore shall be a binary semaphore (#RTEMS_BINARY_SEMAPHORE).
> + */
> +#define RTEMS_FLEXIBLE_MULTIPROCESSOR_LOCKING_SHORT 0x00000200
@joel what are your thoughts on this?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/882#note_149095
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260427/8e5b6016/attachment.htm>
More information about the bugs
mailing list