Home
last modified time | relevance | path

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

/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/libchrome/base/threading/
Dplatform_thread_posix.cc83 PlatformThreadHandle* thread_handle, in CreateThread() argument
85 DCHECK(thread_handle); in CreateThread()
120 *thread_handle = PlatformThreadHandle(handle); in CreateThread()
188 PlatformThreadHandle* thread_handle, in CreateWithPriority() argument
191 delegate, thread_handle, priority); in CreateWithPriority()
204 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument
209 CHECK_EQ(0, pthread_join(thread_handle.platform_handle(), NULL)); in Join()
213 void PlatformThread::Detach(PlatformThreadHandle thread_handle) { in Detach() argument
214 CHECK_EQ(0, pthread_detach(thread_handle.platform_handle())); in Detach()
Dplatform_thread.h162 PlatformThreadHandle* thread_handle) { in Create() argument
163 return CreateWithPriority(stack_size, delegate, thread_handle, in Create()
170 PlatformThreadHandle* thread_handle,
181 static void Join(PlatformThreadHandle thread_handle);
185 static void Detach(PlatformThreadHandle thread_handle);
Dthread.h176 PlatformThreadHandle thread_handle() { return thread_; } in thread_handle() function
/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/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/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/libchrome/base/win/
Dscoped_handle_test_dll.cc57 HANDLE thread_handle = in InternalRunThreadTest() local
60 if (!thread_handle) in InternalRunThreadTest()
63 threads_.push_back(thread_handle); in InternalRunThreadTest()
/external/v8/testing/gtest/src/
Dgtest-port.cc314 HANDLE thread_handle = ::CreateThread( in CreateThread() local
321 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error " in CreateThread()
323 if (thread_handle == NULL) { in CreateThread()
326 return thread_handle; in CreateThread()
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/
Dgtest-port.cc291 HANDLE thread_handle = ::CreateThread( in CreateThread() local
298 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error " in CreateThread()
300 if (thread_handle == NULL) { in CreateThread()
303 return thread_handle; in CreateThread()
/external/googletest/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/libvpx/libvpx/third_party/googletest/src/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/v8/src/base/platform/
Dtime.cc670 ThreadTicks ThreadTicks::GetForThread(const HANDLE& thread_handle) { in GetForThread() argument
675 ::QueryThreadCycleTime(thread_handle, &thread_cycle_time); in GetForThread()
Dtime.h410 static ThreadTicks GetForThread(const HANDLE& thread_handle);
/external/libchrome/base/time/
Dtime.h803 static ThreadTicks GetForThread(const PlatformThreadHandle& thread_handle);