diff --git a/kernel/base/core/los_process.c b/kernel/base/core/los_process.c index 90cce634488118c8233a6771e5ef1d224ab4b72d..62eec3f5432883ac5613e0a5b073419eb1e22c5c 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; }