Gedare Bloom commented on a discussion on cpukit/rtems/src/semcreate.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1067#note_143092

 >    }
 >  
 >    if ( status != STATUS_SUCCESSFUL ) {
 > +    _Chain_Set_off_chain( &the_semaphore->Object.Node );

The problem here though is that the semaphore implementation is re-using the 
`Previous` field to cache some information, but never clears it out before 
returning the Node back to the Chain.

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


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

Reply via email to