mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-16 04:18:20 +00:00
修正相同优先级任务切换太频繁的问题
This commit is contained in:
@@ -608,6 +608,7 @@ struct rt_thread
|
||||
|
||||
rt_ubase_t init_tick; /**< thread's initialized tick */
|
||||
rt_ubase_t remaining_tick; /**< remaining tick */
|
||||
rt_ubase_t can_yield; /**< indicate whether remaining_tick has been reloaded since last schedule */
|
||||
|
||||
struct rt_timer thread_timer; /**< built-in thread timer */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user