!47 【轻量级 PR】:No idle TCB debug

Merge pull request !47 from zhangfanfan2/N/A
This commit is contained in:
openharmony_ci 2020-12-24 15:07:35 +08:00 committed by Gitee
commit f6959724aa
1 changed files with 1 additions and 0 deletions

View File

@ -766,6 +766,7 @@ LITE_OS_SEC_TEXT LosTaskCB *OsGetFreeTaskCB(VOID)
if (LOS_ListEmpty(&g_losFreeTask)) {
SCHEDULER_UNLOCK(intSave);
PRINT_ERR("No idle TCB in the system!\n");
LOS_Panic("**************error***************\n");
return NULL;
}