更换语言:
   Contact us
  • Follow CooCox
  •         
  • CooCox Market
  •         
  • Tech Support
  •     
Home  ›  CoOS › Task Management

Task Ready List

     CooCox CoOS links all the TCB of ready tasks together according to the level of the priority through two-way linked list. This ensures that the first item of the list is always the one which has the highest priority and is the most in need of task scheduling.
     CooCox CoOS allows multiple tasks to share the same priority level. Therefore, tasks with the same priority will inevitably occur in the ready list. CooCox CoOS follows the principle "first-in-first out (FIFO)": put the latest task in the last of the tasks which share the same priority so that all of them can obtain its own CPU runtime.
     TCBRdy is the beginning of the ready list in CooCox CoOS. In other words, TCBRdy is the TCB of the task which has the highest priority in the ready list. Therefore, when starting a task scheduling, which only need to be checked is whether the priority of the task that TCBRdy pointed to is higher than the current running one. In this way, the efficiency of the task scheduling can be improved to the maximum.



CooCox CoOS

© 2009 -2011 CooCox - Terms of Use         Business Model         Market             About us