Home
last modified time | relevance | path

Searched refs:joinList (Results 1 – 5 of 5) sorted by relevance

/kernel/liteos_m/kernel/src/
Dlos_task.c727 LOS_ListInit(&taskCB->joinList); in OsNewTaskInit()
955 if (!LOS_ListEmpty(&taskCB->joinList)) { in OsTaskJoinPostUnsafe()
956 resumedTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(taskCB->joinList))); in OsTaskJoinPostUnsafe()
966 } else if ((taskCB->taskStatus & OS_TASK_FLAG_JOINABLE) && LOS_ListEmpty(&taskCB->joinList)) { in OsTaskJoinPendUnsafe()
967 OsSchedTaskWait(&taskCB->joinList, LOS_WAIT_FOREVER); in OsTaskJoinPendUnsafe()
977 if (LOS_ListEmpty(&(taskCB->joinList))) { in OsTaskSetDetachUnsafe()
978 LOS_ListDelete(&(taskCB->joinList)); in OsTaskSetDetachUnsafe()
/kernel/liteos_a/kernel/base/core/
Dlos_task.c128 if (!LOS_ListEmpty(&taskCB->joinList)) { in OsTaskJoinPostUnsafe()
129 LosTaskCB *resumedTask = OS_TCB_FROM_PENDLIST(LOS_DL_LIST_FIRST(&(taskCB->joinList))); in OsTaskJoinPostUnsafe()
147 if ((taskCB->taskStatus & OS_TASK_FLAG_PTHREAD_JOIN) && LOS_ListEmpty(&taskCB->joinList)) { in OsTaskJoinPendUnsafe()
150 return runTask->ops->wait(runTask, &taskCB->joinList, LOS_WAIT_FOREVER); in OsTaskJoinPendUnsafe()
159 if (LOS_ListEmpty(&(taskCB->joinList))) { in OsTaskSetDetachUnsafe()
160 LOS_ListDelete(&(taskCB->joinList)); in OsTaskSetDetachUnsafe()
490 LOS_ListInit(&taskCB->joinList); in TaskCBBaseInit()
Dlos_process.c2086 LOS_ListInit(&taskCB->joinList); in ThreadGroupActiveTaskKilled()
/kernel/liteos_m/kernel/include/
Dlos_task.h1493 LOS_DL_LIST joinList; member
/kernel/liteos_a/kernel/base/include/
Dlos_sched_pri.h413 LOS_DL_LIST joinList; /**< join list */ member