Home
last modified time | relevance | path

Searched refs:thread_handle (Results 1 – 25 of 26) sorted by relevance

12

/external/sfntly/cpp/src/test/
Dplatform_thread.cc32 PlatformThreadHandle* thread_handle) { in Create() argument
33 assert(thread_handle); in Create()
34 *thread_handle = CreateThread(NULL, 0, ThreadFunc, delegate, 0, NULL); in Create()
35 if (!(*thread_handle)) { in Create()
43 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument
44 assert(thread_handle); in Join()
45 DWORD result = WaitForSingleObject(thread_handle, INFINITE); in Join()
47 CloseHandle(thread_handle); in Join()
66 PlatformThreadHandle* thread_handle) {
67 assert(thread_handle);
[all …]
Dplatform_thread.h61 static bool Create(Delegate* delegate, PlatformThreadHandle* thread_handle);
66 static void Join(PlatformThreadHandle thread_handle);
/external/libhevc/encoder/
Dosal_thread.c158 &(hdl->thread_handle), /* Thread Handle */ in osal_thread_create()
205 WORD32 osal_thread_destroy(IN void *thread_handle) in osal_thread_destroy() argument
208 if(0 == thread_handle) in osal_thread_destroy()
212 thread_handle_t *hdl = (thread_handle_t *)thread_handle; in osal_thread_destroy()
375 WORD32 osal_thread_suspend(IN void *thread_handle) in osal_thread_suspend() argument
378 if(0 == thread_handle) in osal_thread_suspend()
417 WORD32 osal_thread_resume(IN void *thread_handle) in osal_thread_resume() argument
420 if(0 == thread_handle) in osal_thread_resume()
458 WORD32 osal_thread_wait(IN void *thread_handle) in osal_thread_wait() argument
460 if(0 == thread_handle) in osal_thread_wait()
[all …]
Dosal.h152 void *thread_handle; /* Thread to be associated with mail box. */ member
454 extern WORD32 osal_thread_destroy(IN void *thread_handle);
463 extern WORD32 osal_thread_suspend(IN void *thread_handle);
467 extern WORD32 osal_thread_resume(IN void *thread_handle);
471 extern WORD32 osal_thread_wait(IN void *thread_handle);
Dosal_thread.h58 pthread_t thread_handle; /* POSIX Thread handle */ member
Dosal_select_engine.h64 void *thread_handle; /* Select engine thread handle */ member
Dosal_handle.h72 debug_handle_t thread_handle[DEBUG_ORDER]; member
/external/libchrome/base/threading/
Dplatform_thread_posix.cc89 PlatformThreadHandle* thread_handle, in CreateThread() argument
91 DCHECK(thread_handle); in CreateThread()
126 *thread_handle = PlatformThreadHandle(handle); in CreateThread()
198 PlatformThreadHandle* thread_handle, in CreateWithPriority() argument
201 thread_handle, priority); in CreateWithPriority()
222 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument
224 base::debug::ScopedThreadJoinActivity thread_activity(&thread_handle); in Join()
230 CHECK_EQ(0, pthread_join(thread_handle.platform_handle(), nullptr)); in Join()
234 void PlatformThread::Detach(PlatformThreadHandle thread_handle) { in Detach() argument
235 CHECK_EQ(0, pthread_detach(thread_handle.platform_handle())); in Detach()
Dplatform_thread.h168 PlatformThreadHandle* thread_handle) { in Create() argument
169 return CreateWithPriority(stack_size, delegate, thread_handle, in Create()
176 PlatformThreadHandle* thread_handle,
193 static void Join(PlatformThreadHandle thread_handle);
197 static void Detach(PlatformThreadHandle thread_handle);
/external/curl/lib/
Dcurl_threads.c115 curl_win_thread_handle_t thread_handle; in Curl_thread_create() local
117 thread_handle = CreateThread(NULL, 0, func, arg, 0, NULL); in Curl_thread_create()
119 thread_handle = _beginthreadex(NULL, 0, func, arg, 0, NULL); in Curl_thread_create()
121 t = (curl_thread_t)thread_handle; in Curl_thread_create()
/external/libhevc/common/
Dithread.c64 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument) in ithread_create() argument
66 … return pthread_create((pthread_t *)thread_handle, attribute, (void * (*)(void *))strt, argument); in ithread_create()
69 WORD32 ithread_join(void *thread_handle, void **val_ptr) in ithread_join() argument
71 pthread_t *pthread_handle = (pthread_t *)thread_handle; in ithread_join()
Dithread.h43 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument);
/external/libmpeg2/common/
Dithread.c70 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument) in ithread_create() argument
73 return pthread_create((pthread_t *)thread_handle, NULL,(void *(*)(void *)) strt, argument); in ithread_create()
76 WORD32 ithread_join(void *thread_handle, void ** val_ptr) in ithread_join() argument
78 pthread_t *pthread_handle = (pthread_t *)thread_handle; in ithread_join()
Dithread.h45 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument);
/external/libavc/common/
Dithread.c77 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument) in ithread_create() argument
80 return pthread_create((pthread_t *)thread_handle, NULL,(void *(*)(void *)) strt, argument); in ithread_create()
83 WORD32 ithread_join(void *thread_handle, void ** val_ptr) in ithread_join() argument
86 pthread_t *pthread_handle = (pthread_t *)thread_handle; in ithread_join()
Dithread.h65 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument);
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-port.cc388 HANDLE thread_handle = ::CreateThread( in CreateThread() local
395 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error " in CreateThread()
397 if (thread_handle == NULL) { in CreateThread()
400 return thread_handle; in CreateThread()
/external/mesa3d/src/gtest/src/
Dgtest-port.cc332 HANDLE thread_handle = ::CreateThread( in CreateThread() local
339 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error " in CreateThread()
341 if (thread_handle == NULL) { in CreateThread()
344 return thread_handle; in CreateThread()
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-port.cc332 HANDLE thread_handle = ::CreateThread( in CreateThread() local
339 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error " in CreateThread()
341 if (thread_handle == NULL) { in CreateThread()
344 return thread_handle; in CreateThread()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/
Dgtest-port.cc332 HANDLE thread_handle = ::CreateThread( in CreateThread() local
339 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error " in CreateThread()
341 if (thread_handle == NULL) { in CreateThread()
344 return thread_handle; in CreateThread()
/external/googletest/googletest/src/
Dgtest-port.cc471 HANDLE thread_handle = ::CreateThread( in CreateThread() local
478 GTEST_CHECK_(thread_handle != nullptr) in CreateThread()
480 if (thread_handle == nullptr) { in CreateThread()
483 return thread_handle; in CreateThread()
/external/libpcap/rpcapd/
Ddaemon.c99 struct thread_handle { struct
116 static int daemon_msg_startcap_req(struct daemon_slpars *pars, uint32 plen, struct thread_handle *t… argument
117 …_endcap_req(struct daemon_slpars *pars, struct session *session, struct thread_handle *threaddata);
153 struct thread_handle threaddata; // 'read from daemon and send to client' thread in daemon_serviceloop()
1545 daemon_msg_startcap_req(struct daemon_slpars *pars, uint32 plen, struct thread_handle *threaddata, … in daemon_msg_startcap_req()
1904 daemon_msg_endcap_req(struct daemon_slpars *pars, struct session *session, struct thread_handle *th… in daemon_msg_endcap_req()
/external/v8/src/base/platform/
Dtime.cc801 ThreadTicks ThreadTicks::GetForThread(const HANDLE& thread_handle) { in GetForThread() argument
806 ::QueryThreadCycleTime(thread_handle, &thread_cycle_time); in GetForThread()
Dtime.h454 static ThreadTicks GetForThread(const HANDLE& thread_handle);
/external/libchrome/base/time/
Dtime.h961 static ThreadTicks GetForThread(const PlatformThreadHandle& thread_handle);

12