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

Xinhong Hu (@aptacc2421) gitlab at rtems.org
Sun Mar 1 09:25:20 UTC 2026



Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1084 was reviewed by Xinhong Hu

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

 > -  long mq_curmsgs;
 > +  /** This is the number of messages currently queued */
 > +  long  mq_curmsgs;

I have applied clang-format to ensure consistent formatting. No random whitespace changes remain

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

 > +  long  mq_curmsgs;
 > +  /** RTEMS extension: waiting discipline (0 = FIFO, 1 = priority) */
 > +#ifdef __rtems__

Removed the `__rtems__` guard as suggested.

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

 > +  /** RTEMS extension: waiting discipline (0 = FIFO, 1 = priority) */
 > +#ifdef __rtems__
 > +  long  mq_ispriority;

Renamed to `mq_ispriority_np` as requested.


-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1084
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/20260301/0a7fe692/attachment-0001.htm>


More information about the bugs mailing list