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

Gedare Bloom (@gedare) gitlab at rtems.org
Tue Jan 28 07:14:51 UTC 2025




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

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

I think this should instead be `_Objects_Close(...)`

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/364#note_118417
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/20250128/99ef5db1/attachment.htm>


More information about the bugs mailing list