Gedare Bloom commented on a discussion on cpukit/posix/src/mqueuedeletesupp.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/364#note_119104

 >  )
 >  {
 >    if ( !the_mq->linked && the_mq->open_count == 0 ) {
 > +    _Objects_Invalidate_Id( &_POSIX_Message_queue_Information, 
 > &the_mq->Object );

That's a good catch. I missed that `mq_unlink` already calls 
`_POSIX_Message_queue_Namespace_remove` which does the right thing.

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


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to