RTEMS | cpukit: fix off-chain state checks and pointer clearing (!1067)
Gedare Bloom (@gedare)
gitlab at rtems.org
Fri Feb 27 20:38:54 UTC 2026
Gedare Bloom commented on a discussion on cpukit/score/src/threadqflush.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1067#note_143757
> Scheduler_Node *scheduler_node;
>
> scheduler_node = _Thread_Scheduler_get_home_node( first );
> + _Chain_Initialize_node( &scheduler_node->Wait.Priority.Node.Node.Chain );
Another possibly ok thing to do is to add `_Assert( _RBTree_Is_node_off_tree( &scheduler_node->Wait.Priority.Node.Node.RBTree ) );` before initializing the scheduler node.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1067#note_143757
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/20260227/e90fd3a0/attachment-0001.htm>
More information about the bugs
mailing list