RTEMS | Need to invalid posix message queue object id when delete mq (!364)

Sebastian Huber (@sebhub) gitlab at rtems.org
Tue Feb 4 02:25:29 UTC 2025




Sebastian Huber commented on a discussion on cpukit/posix/src/mqueuedeletesupp.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/364#note_119077

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

I am not sure, the `_Objects_Close()` calls in addition `_Objects_Namespace_remove_u32()`, however, POSIX message queues have a string name.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/364#note_119077
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/20250204/5ed2e923/attachment.htm>


More information about the bugs mailing list