Home
last modified time | relevance | path

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

12

/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/qcom/gps/msm8996/utils/
DLocThread.cpp113 LocThreadDelegate* thread = NULL; in create() local
115 thread = new LocThreadDelegate(creator, threadName, runnable, joinable); in create()
116 if (thread && !thread->isRunning()) { in create()
117 thread->destroy(); in create()
118 thread = NULL; in create()
122 return thread; in create()
252 LocThread thread; in main() local
253 thread.start("LocThreadTest", test, atoi(argv[1])); in main()
257 thread.stop(); in main()
DMsgTask.cpp68 LocThread* thread = mThread; in destroy() local
70 delete thread; in destroy()
/hardware/qcom/gps/msm8909/utils/
DLocThread.cpp113 LocThreadDelegate* thread = NULL; in create() local
115 thread = new LocThreadDelegate(creator, threadName, runnable, joinable); in create()
116 if (thread && !thread->isRunning()) { in create()
117 thread->destroy(); in create()
118 thread = NULL; in create()
122 return thread; in create()
252 LocThread thread; in main() local
253 thread.start("LocThreadTest", test, atoi(argv[1])); in main()
257 thread.stop(); in main()
DMsgTask.cpp68 LocThread* thread = mThread; in destroy() local
70 delete thread; in destroy()
/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/libhardware/modules/input/evdev/
DEvdevModule.cpp52 std::thread mPollThread;
66 mPollThread = std::thread(&EvdevModule::loop, this); in init()
/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/msm8994/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/qcom/gps/msm8084/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/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/qcom/gps/msm8909/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/qcom/gps/msm8996/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/bsp/intel/peripheral/libmraa/docs/
Di2c.txt2 any calls on i2c, in case another application or even thread changed the addres
/hardware/qcom/display/msm8996/sdm/include/utils/
Dsys.h47 typedef int (*pthread_cancel)(pthread_t thread);
/hardware/intel/common/wrs_omxil_core/
DAndroid.mk30 utils/inc/thread.h \
/hardware/libhardware/modules/vehicle/
Dvehicle.c62 pthread_t thread; member
483 &sub->thread, NULL, (void *(*)(void*))fake_event_thread, sub); in vdev_subscribe()
509 pthread_join(sub->thread, NULL); in vdev_unsubscribe()

12