Examples | posix_message_server: Add new example (!32)
Joel Sherrill (@joel)
gitlab at rtems.org
Wed Jul 29 15:31:13 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_155831
> +#include <stdlib.h>
> +
> +#include "../led.h"
> +
> +#define CHECK( _msg, _rc, _errno ) \
> + do { \
> + if ( (_rc) != 0 ) { \
> + printf( "Server: %s %d %s\n", _msg, _rc, strerror(_errno) ); \
> + } \
> + assert( _rc == 0 ); \
> + } while (0)
> +
> +#define QUEUE_NAME "LED"
> +
> +struct mq_attr Attr = {
> + // Set attributes for the queue creation
Hopefully fixed now.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/merge_requests/32#note_155831
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-6nge0kosiqml5puvmvlyy1d04-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/f8c9b03b/attachment-0001.htm>
More information about the bugs
mailing list