Gedare Bloom commented on a discussion: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/3986#note_142443


Yes, you are on the right path here. Regarding your questions:
1. I'm not sure, maybe @joel knows. It's possible no one ever asked for it. I 
suspect it would be useful to have it. The API is documented at 
https://docs.rtems.org/docs/main/c-user/message/index.html in case you haven't 
read it yet.
2. If I had to guess, I would say that POSIX uses `_Submit` directly because it 
uses a priority value, whereas the `_Send` appends to the end of the mq, i.e., 
treats it as a FIFO.

Related to point 2, the Classic MQ does not support priority-based insertions. 
That might also be a worthwhile extension of the classic API.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/3986#note_142443
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to