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.


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

Reply via email to