You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/12/13 12:08:42 UTC

[GitHub] [incubator-nuttx] zhaoxiu-zeng commented on pull request #4989: sched: fix bug in the function nxsched_resume_scheduler

zhaoxiu-zeng commented on pull request #4989:
URL: https://github.com/apache/incubator-nuttx/pull/4989#issuecomment-992413920


   This commit is abandoned, I will do a new one soon.
   
   The BUG is as follow:
   
   1. Suppose there are two ready tasks t1 and t2 have the same priority, and t1 is the running.
   2. A new, higher priority task t0 (such as hpwork) is ready, then switch to t0.
   3. After t0 is suspended, then switch to t1 and reset the t1's timeslice.
   4. goto 2
   
   The t2 will have no chance to run.
   


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org