No idle PCB debug

This commit is contained in:
zhangfanfan2 2020-12-24 14:20:50 +08:00 committed by Gitee
parent 58830073a6
commit 0c635d79e6
1 changed files with 1 additions and 0 deletions

View File

@ -610,6 +610,7 @@ STATIC LosProcessCB *OsGetFreePCB(VOID)
if (LOS_ListEmpty(&g_freeProcess)) {
SCHEDULER_UNLOCK(intSave);
PRINT_ERR("No idle PCB in the system!\n");
LOS_Panic("**************error***************\n");
return NULL;
}