Home
last modified time | relevance | path

Searched refs:threadStr (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/linux/
Dtest_pal_thread.c56 struct ThreadStr *threadStr = ctx; in Test_PalThreadFunc() local
71 ret = threadStr->threadFunc(threadStr->arg); in Test_PalThreadFunc()
72 threadStr->isCompleted = true; in Test_PalThreadFunc()
114 struct ThreadStr *threadStr = NULL; in Test_PalThreadCreate() local
127 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 …]
/trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/freertos/
Dtest_pal_thread.c55 struct ThreadStr *threadStr = pvParameter; in Test_PalThreadFunc() local
57 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() local
158 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 …]