mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
sched/tasklist: replace task status list with macro definition
replace to macro will help to extend the scheduling implementation Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
committed by
Masayuki Ishikawa
parent
ad0efd04ee
commit
306c1c0b7d
@@ -563,7 +563,7 @@ void leave_critical_section(irqstate_t flags)
|
||||
* section then.
|
||||
*/
|
||||
|
||||
if (g_pendingtasks.head != NULL &&
|
||||
if (list_pendingtasks()->head != NULL &&
|
||||
!nxsched_islocked_global())
|
||||
{
|
||||
/* Release any ready-to-run tasks that have collected
|
||||
|
||||
Reference in New Issue
Block a user