Examples | posix_message_server: Add new example (!32)
Joel Sherrill (@joel)
gitlab at rtems.org
Wed Jul 29 15:31:53 UTC 2026
Joel Sherrill commented on a discussion on led/posix_message_server/init.c: https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/merge_requests/32#note_155832
> + .mq_curmsgs = 0
> +};
> +
> +static void *Message_Server(
> + void *unused
> +)
> +{
> + (void) unused;
> +
> + mqd_t rx_queue;
> + uint32_t count;
> + unsigned int prio;
> + int rc;
> +
> + // Open the queue for reading
> + // rx_queue = mq_open(QUEUE_NAME, O_RDONLY, 0644, &Attr);
I added more to the comment block to let users know that those attributes are only needed when creating a message queue.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/merge_requests/32#note_155832
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-afdhdjaah63jkl82ypszgtp4v-9/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260729/9e465730/attachment.htm>
More information about the bugs
mailing list