!47 【轻量级 PR】:No idle TCB debug
Merge pull request !47 from zhangfanfan2/N/A
This commit is contained in:
commit
f6959724aa
|
@ -766,6 +766,7 @@ LITE_OS_SEC_TEXT LosTaskCB *OsGetFreeTaskCB(VOID)
|
||||||
if (LOS_ListEmpty(&g_losFreeTask)) {
|
if (LOS_ListEmpty(&g_losFreeTask)) {
|
||||||
SCHEDULER_UNLOCK(intSave);
|
SCHEDULER_UNLOCK(intSave);
|
||||||
PRINT_ERR("No idle TCB in the system!\n");
|
PRINT_ERR("No idle TCB in the system!\n");
|
||||||
|
LOS_Panic("**************error***************\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue