解决yield操作不能及时释放cpu的问题

This commit is contained in:
shaojinchun
2020-07-24 21:13:56 +08:00
parent e22bbf975e
commit 3ed84b8d03
3 changed files with 12 additions and 5 deletions
+1 -2
View File
@@ -91,8 +91,7 @@ void rt_tick_increase(void)
thread->stat |= RT_THREAD_STAT_YIELD;
/* yield */
rt_thread_yield();
rt_schedule();
}
/* check timer */