RTEMS | draft: Add POSIX msgq priority bucket + bitmap implementation (!1164)

Chandan U (@Chandanuvm) gitlab at rtems.org
Sun Apr 19 08:20:49 UTC 2026




Chandan U commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1164#note_148762


The recent patch adds POSIX-only structure for a RB-tree based path for pending messages. It does not change any existing CORE message queue behavior maintaining the decoupling architecture as suggested earlier.

It introduces an embedded RB-tree node and a per-message sequence number inside `CORE_message_queue_Buffer`, and adds an RB tree control structure plus a sequence counter in `POSIX_Message_queue_Control`, which are only used when POSIX is enabled.

During queue creation, the RB-tree is initialized as empty and the sequence counter is reset to 0.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1164#note_148762
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/20260419/6f3df82e/attachment.htm>


More information about the bugs mailing list