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


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

Reply via email to