No idle PCB debug
This commit is contained in:
parent
58830073a6
commit
0c635d79e6
|
@ -610,6 +610,7 @@ STATIC LosProcessCB *OsGetFreePCB(VOID)
|
||||||
if (LOS_ListEmpty(&g_freeProcess)) {
|
if (LOS_ListEmpty(&g_freeProcess)) {
|
||||||
SCHEDULER_UNLOCK(intSave);
|
SCHEDULER_UNLOCK(intSave);
|
||||||
PRINT_ERR("No idle PCB in the system!\n");
|
PRINT_ERR("No idle PCB in the system!\n");
|
||||||
|
LOS_Panic("**************error***************\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue