RTEMS | cpukit: fix off-chain state checks and pointer clearing (!1067)
Gedare Bloom (@gedare)
gitlab at rtems.org
Fri Feb 20 16:44:03 UTC 2026
Gedare Bloom started a new discussion on cpukit/rtems/src/semcreate.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1067#note_143079
> );
>
> if ( !ok ) {
> + _Chain_Set_off_chain( &the_semaphore->Object.Node );
If the `Node` is already off chain, maybe it would be more appropriate to add `_Sempahore_Set_flags( &the_semaphore, NULL );`?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1067#note_143079
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/20260220/2242d926/attachment-0001.htm>
More information about the bugs
mailing list