Re: RTEMS | Draft: posix: Add mq_ispriority to mq_attr for per‑queue discipline selection (!1084)

Xinhong Hu (@aptacc2421) gitlab at rtems.org
Thu Mar 26 02:48:45 UTC 2026




Xinhong Hu commented on a discussion on cpukit/include/mqueue.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1084#note_147079

 >    /** This is the number of messages currently queued */
 >    long mq_curmsgs;
 >    /** RTEMS extension: waiting discipline (0 = FIFO, 1 = priority) */

Hi @joel,

I’ve moved the RTEMS-specific field and its comment inside the guard.

Just to confirm — the intent is to keep ‘mq_curmsgs’ as part of the standard POSIX structure, and only guard the extension field, right?

Thanks!

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1084#note_147079
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/20260326/215f101b/attachment-0001.htm>


More information about the bugs mailing list