Home
last modified time | relevance | path

Searched refs:realThread (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/osal/src/
H A Dosal_thread.c68 thread->realThread = NULL; in OsalThreadCreate()
79 thread->realThread = para; in OsalThreadCreate()
88 if (thread == NULL || thread->realThread == NULL) { in OsalThreadBind()
92 para = (struct ThreadWrapper *)thread->realThread; in OsalThreadBind()
108 if (thread == NULL || thread->realThread == NULL || param == NULL || in OsalThreadStart()
114 para = (struct ThreadWrapper *)thread->realThread; in OsalThreadStart()
157 if (thread == NULL || thread->realThread == NULL) { in OsalCheckPara()
162 para = (struct ThreadWrapper *)thread->realThread; in OsalCheckPara()
201 OsalMemFree(thread->realThread); in OsalThreadDestroy()
202 thread->realThread = NULL; in OsalThreadDestroy()
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos_m/osal/src/
H A Dosal_thread.c68 thread->realThread = NULL; in OsalThreadCreate()
79 thread->realThread = para; in OsalThreadCreate()
88 if (thread == NULL || thread->realThread == NULL) { in OsalThreadBind()
92 para = (struct ThreadWrapper *)thread->realThread; in OsalThreadBind()
113 para = (struct ThreadWrapper *)thread->realThread; in OsalThreadStart()
150 if (thread == NULL || thread->realThread == NULL) { in OsalCheckPara()
155 para = (struct ThreadWrapper *)thread->realThread; in OsalCheckPara()
175 ret = LOS_TaskSuspend(((struct ThreadWrapper *)thread->realThread)->tid); in OsalThreadSuspend()
194 OsalMemFree(thread->realThread); in OsalThreadDestroy()
195 thread->realThread = NULL; in OsalThreadDestroy()
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/uniproton/osal/src/
H A Dosal_thread.c68 thread->realThread = NULL; in OsalThreadCreate()
79 thread->realThread = para; in OsalThreadCreate()
88 if (thread == NULL || thread->realThread == NULL) { in OsalThreadBind()
92 para = (struct ThreadWrapper *)thread->realThread; in OsalThreadBind()
113 para = (struct ThreadWrapper *)thread->realThread; in OsalThreadStart()
158 if (thread == NULL || thread->realThread == NULL) { in OsalCheckPara()
163 para = (struct ThreadWrapper *)thread->realThread; in OsalCheckPara()
183 ret = PRT_TaskSuspend(((struct ThreadWrapper *)thread->realThread)->tid); in OsalThreadSuspend()
202 OsalMemFree(thread->realThread); in OsalThreadDestroy()
203 thread->realThread = NULL; in OsalThreadDestroy()
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/osal/src/
H A Dosal_thread.c72 thread->realThread = NULL; in OsalThreadCreate()
82 thread->realThread = wrapper; in OsalThreadCreate()
92 if (thread == NULL || thread->realThread == NULL) { in OsalThreadBind()
96 wrapper = (struct thread_wrapper *)thread->realThread; in OsalThreadBind()
110 if (thread == NULL || thread->realThread == NULL || param == NULL || param->name == NULL) { in OsalThreadStart()
126 wrapper = (struct thread_wrapper *)thread->realThread; in OsalThreadStart()
161 if (thread == NULL || thread->realThread == NULL) { in OsalThreadDestroy()
166 OsalMemFree(thread->realThread); in OsalThreadDestroy()
167 thread->realThread = NULL; in OsalThreadDestroy()
/ohos5.0/drivers/hdf_core/framework/support/posix/src/
H A Dosal_thread.c71 thread->realThread = NULL; in OsalThreadCreate()
80 thread->realThread = para; in OsalThreadCreate()
87 if (thread != NULL && thread->realThread != NULL) { in OsalThreadDestroy()
88 OsalMemFree(thread->realThread); in OsalThreadDestroy()
89 thread->realThread = NULL; in OsalThreadDestroy()
149 if (thread == NULL || thread->realThread == NULL || param == NULL) { in OsalThreadStart()
154 struct ThreadWrapper *para = (struct ThreadWrapper *)thread->realThread; in OsalThreadStart()
186 resultCode = OsalCreatePthread(&para->id, &attribute, thread->realThread, param->name); in OsalThreadStart()
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/common/
H A Dtimer_test.c230 if (thread1->realThread != NULL) { in MultiThreadSourceRecycle()
234 if (thread2->realThread != NULL) { in MultiThreadSourceRecycle()
249 thread1.realThread = NULL; in TimerTestMultiThread()
250 thread2.realThread = NULL; in TimerTestMultiThread()
/ohos5.0/drivers/hdf_core/interfaces/inner_api/osal/shared/
H A Dosal_thread.h84 void *realThread; /**< Pointer to a created thread object */ member