RTEMS | POSIX Message Queue thread release order is not priority based (#3791)
Xinhong Hu (@aptacc2421)
gitlab at rtems.org
Wed Feb 25 15:27:46 UTC 2026
Xinhong Hu commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/3791#note_143490
Hi @gedare @joel,
Following the earlier discussion, I have opened a draft MR (!1084) implementing a per-instance `mq_ispriority` field for POSIX message queues.
**Current scope:**
- Introduce an RTEMS-specific `mq_ispriority` field in `struct mq_attr`
- Preserve FIFO as the default behavior for backward compatibility
- Select the underlying core discipline in `mq_open()` based on this field
- No global configuration mechanism yet This draft focuses only on validating the per-instance approach.
**I would appreciate feedback on:**
1. Whether this direction aligns with the intended resolution of [#3791](https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/3791)
2. Any concerns regarding structure layout or API impact
3. Whether a `confdefs.h` default mechanism should be added next
Thank you for your guidance.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/3791#note_143490
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/20260225/55929ada/attachment-0001.htm>
More information about the bugs
mailing list