!46 【轻量级 PR】:No idle PCB debug
Merge pull request !46 from zhangfanfan2/N/A
This commit is contained in:
commit
b5571e02e4
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue