From 0c635d79e6f92f737406b23f9aa9c493c97ba939 Mon Sep 17 00:00:00 2001 From: zhangfanfan2 Date: Thu, 24 Dec 2020 14:20:50 +0800 Subject: [PATCH] No idle PCB debug --- kernel/base/core/los_process.c | 1 + 1 file changed, 1 insertion(+) 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; } -- GitLab