提交 b5571e02 编写于 作者: O openharmony_ci 提交者: Gitee

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

Merge pull request !46 from zhangfanfan2/N/A
...@@ -610,6 +610,7 @@ STATIC LosProcessCB *OsGetFreePCB(VOID) ...@@ -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;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册