!538 支持pipe管道通信机制以及poll多文件描述符检测接口

Merge pull request !538 from JerryH/pipe
This commit is contained in:
openharmony_ci
2022-01-18 10:29:15 +00:00
committed by Gitee
10 changed files with 1139 additions and 6 deletions

View File

@@ -721,8 +721,8 @@ LITE_OS_SEC_TEXT_INIT UINT32 LOS_TaskCreateOnly(UINT32 *taskID, TSK_INIT_PARAM_S
intSave = LOS_IntLock();
if (LOS_ListEmpty(&g_losFreeTask)) {
retVal = LOS_ERRNO_TSK_TCB_UNAVAILABLE;
OS_GOTO_ERREND();
LOS_IntRestore(intSave);
return LOS_ERRNO_TSK_TCB_UNAVAILABLE;
}
taskCB = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&g_losFreeTask));
@@ -761,10 +761,6 @@ LITE_OS_SEC_TEXT_INIT UINT32 LOS_TaskCreateOnly(UINT32 *taskID, TSK_INIT_PARAM_S
*taskID = taskCB->taskID;
OsHookCall(LOS_HOOK_TYPE_TASK_CREATE, taskCB);
return retVal;
LOS_ERREND:
LOS_IntRestore(intSave);
return retVal;
}
/*****************************************************************************