diff --git a/kernel/base/core/los_process.c b/kernel/base/core/los_process.c index 90cce634..62eec3f5 100644 --- a/kernel/base/core/los_process.c +++ b/kernel/base/core/los_process.c @@ -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; }