Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 16 of 16) sorted by relevance

/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
DExynos_OSAL_Thread.c60 EXYNOS_THREAD_HANDLE_TYPE *thread; in Exynos_OSAL_ThreadCreate() local
63 thread = Exynos_OSAL_Malloc(sizeof(EXYNOS_THREAD_HANDLE_TYPE)); in Exynos_OSAL_ThreadCreate()
64 Exynos_OSAL_Memset(thread, 0, sizeof(EXYNOS_THREAD_HANDLE_TYPE)); in Exynos_OSAL_ThreadCreate()
66 pthread_attr_init(&thread->attr); in Exynos_OSAL_ThreadCreate()
67 if (thread->stack_size != 0) in Exynos_OSAL_ThreadCreate()
68 pthread_attr_setstacksize(&thread->attr, thread->stack_size); in Exynos_OSAL_ThreadCreate()
71 if (thread->schedparam.sched_priority != 0) in Exynos_OSAL_ThreadCreate()
72 pthread_attr_setschedparam(&thread->attr, &thread->schedparam); in Exynos_OSAL_ThreadCreate()
74 detach_ret = pthread_attr_setdetachstate(&thread->attr, PTHREAD_CREATE_JOINABLE); in Exynos_OSAL_ThreadCreate()
76 Exynos_OSAL_Free(thread); in Exynos_OSAL_ThreadCreate()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dthreading.h32 #define pthread_join(thread, result) ((WaitForSingleObject((thread),INFINITE)!=WAIT_OBJECT_0) || !C… argument
33 #define pthread_detach(thread) if(thread!=NULL)CloseHandle(thread) argument
35 #define pthread_cancel(thread) terminate_thread(thread,0) argument
54 #define pthread_join(thread, result) ((int)DosWaitThread(&(thread),0))
55 #define pthread_detach(thread) 0
57 #define pthread_cancel(thread) DosKillThread(thread)
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_thread.h47 static INLINE int pthread_create(pthread_t* const thread, const void* attr, in pthread_create() argument
51 *thread = (pthread_t)_beginthreadex(NULL, /* void *security */ in pthread_create()
57 if (*thread == NULL) return 1; in pthread_create()
58 SetThreadPriority(*thread, THREAD_PRIORITY_ABOVE_NORMAL); in pthread_create()
62 static INLINE int pthread_join(pthread_t thread, void** value_ptr) { in pthread_join() argument
64 return (WaitForSingleObject(thread, INFINITE) != WAIT_OBJECT_0 || in pthread_join()
65 CloseHandle(thread) == 0); in pthread_join()
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_ni.h39 pthread_t thread; /* NI thread */ member
Dloc_eng_ni.cpp163 rc = pthread_create(&loc_eng_ni_data_p->thread, NULL, ni_thread_proc, &loc_eng_data); in loc_eng_ni_request_handler()
168 rc = pthread_detach(loc_eng_ni_data_p->thread); in loc_eng_ni_request_handler()
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_ni.h41 pthread_t thread; /* NI thread */ member
Dloc_eng_ni.cpp180 rc = pthread_create(&pSession->thread, NULL, ni_thread_proc, pSession); in loc_eng_ni_request_handler()
185 rc = pthread_detach(pSession->thread); in loc_eng_ni_request_handler()
/hardware/intel/common/wrs_omxil_core/utils/src/
Debuild.mk8 thread.cpp \
DAndroid.mk8 thread.cpp \
/hardware/intel/common/wrs_omxil_core/
DAndroid.mk30 utils/inc/thread.h \
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Ddecodeframe.c1341 unsigned int thread; in vp8_decode_frame() local
1344 for (thread = 0; thread < pbi->decoding_thread_count; ++thread) in vp8_decode_frame()
1345 corrupt_tokens |= pbi->mb_row_di[thread].mbd.corrupted; in vp8_decode_frame()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/
DREADME275 Google Test is thread-safe where the pthread library is available.
371 it in order to be thread-safe. See the "Multi-threaded Tests" section
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
DCHANGELOG284 Encoder loopfilter running in its own thread
/hardware/intel/img/libdrm/
Dltmain.sh4579 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
4682 -thread-safe)
Daclocal.m45258 dnl [Compiler flag to generate thread safe objects])
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/include/gtest/
Dgtest.h2363 extern "C" inline void* ThreadFuncWithCLinkage(void* thread) {
2364 static_cast<ThreadWithParamBase*>(thread)->Run();