IssueNo:#I29BRN
Description:Change the exception error message to Panic to clarify what normal does not return. Sig:kernel Feature or Bugfix:Bugfix Binary Source:No Change-Id: Ie7087cafe709f79604831f6d3eefcee6fe48ccbb
This commit is contained in:
parent
996047a7e2
commit
9601ecc131
|
@ -287,9 +287,7 @@ LITE_OS_SEC_TEXT VOID OsTaskToExit(LosTaskCB *taskCB, UINT32 status)
|
||||||
|
|
||||||
if (taskCB->taskStatus & OS_TASK_FLAG_DETACHED) {
|
if (taskCB->taskStatus & OS_TASK_FLAG_DETACHED) {
|
||||||
UINT32 ret = OsTaskDeleteUnsafe(taskCB, status, intSave);
|
UINT32 ret = OsTaskDeleteUnsafe(taskCB, status, intSave);
|
||||||
if (ret != LOS_OK) {
|
LOS_Panic("Task delete failed! ERROR : 0x%x\n", ret);
|
||||||
PRINT_ERR("Task exit delete failed! ERROR : 0x%x\n", ret);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
OsTaskJoinPostUnsafe(taskCB);
|
OsTaskJoinPostUnsafe(taskCB);
|
||||||
|
|
Loading…
Reference in New Issue