!49 【轻量级 PR】:No idle PCB debug

Merge pull request !49 from zhangfanfan2/N/A
This commit is contained in:
openharmony_ci 2020-12-25 11:08:53 +08:00 committed by Gitee
commit bafa57fdbc
1 changed files with 1 additions and 1 deletions

View File

@ -610,7 +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");
__asm__ __volatile__("swi 0");
return NULL;
}