!46 【轻量级 PR】:No idle PCB debug

Merge pull request !46 from zhangfanfan2/N/A
This commit is contained in:
openharmony_ci 2020-12-24 15:37:11 +08:00 committed by Gitee
commit b5571e02e4
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;
}