GUIDINGLI opened a new pull request #5590:
URL: https://github.com/apache/incubator-nuttx/pull/5590


   ## Summary
   
   os init_state: add new state OSINIT_IDLELOOP
   
   This is for distinguish we are in init idle or idle loop.
   Use for assertion for sem_trywait & sem_wait
   
   In the previous PR:
   https://github.com/apache/incubator-nuttx/pull/5577
   
   There is a check error:
   DEBUGASSERT(OSINIT_IDLELOOP() && !sched_idletask());
   should be:
   DEBUGASSERT(!OSINIT_IDLELOOP() || !sched_idletask());
   
   And the last PR regression caused by lack of testing.
   This time do the fully test.
   
   ## Impact
   idle take sem
   
   ## Testing
   Test in maix-bit:kostest, VELA
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to