Searched refs:threadStr (Results 1 – 2 of 2) sorted by relevance
56 struct ThreadStr *threadStr = ctx; in Test_PalThreadFunc() local71 ret = threadStr->threadFunc(threadStr->arg); in Test_PalThreadFunc()72 threadStr->isCompleted = true; in Test_PalThreadFunc()114 struct ThreadStr *threadStr = NULL; in Test_PalThreadCreate() local127 threadStr = Test_PalMalloc(sizeof(struct ThreadStr)); in Test_PalThreadCreate()128 if (threadStr == NULL) { in Test_PalThreadCreate()140 threadStr->threadFunc = threadFunc; in Test_PalThreadCreate()141 threadStr->arg = arg; in Test_PalThreadCreate()142 threadStr->stackAddrToFree = NULL; in Test_PalThreadCreate()143 threadStr->isJoined = false; in Test_PalThreadCreate()[all …]
55 struct ThreadStr *threadStr = pvParameter; in Test_PalThreadFunc() local57 threadStr->taskFunc(threadStr->arg); in Test_PalThreadFunc()60 if (threadStr->parentTaskHandle != NULL) in Test_PalThreadFunc()61 xTaskNotifyGive(threadStr->parentTaskHandle); in Test_PalThreadFunc()63 threadStr->taskHandle = NULL; in Test_PalThreadFunc()132 struct ThreadStr *threadStr; in Test_PalThreadCreate() local158 threadStr = PalMalloc(sizeof(struct ThreadStr)); in Test_PalThreadCreate()159 if (threadStr == NULL) { in Test_PalThreadCreate()165 threadStr->taskFunc = threadFunc; in Test_PalThreadCreate()166 threadStr->arg = arg; in Test_PalThreadCreate()[all …]