Home
last modified time | relevance | path

Searched refs:thread_handle (Results 1 – 12 of 12) 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.cc80 PlatformThreadHandle* thread_handle, in CreateThread() argument
82 DCHECK(thread_handle); in CreateThread()
117 *thread_handle = PlatformThreadHandle(handle); in CreateThread()
185 PlatformThreadHandle* thread_handle, in CreateWithPriority() argument
188 delegate, thread_handle, priority); in CreateWithPriority()
201 void PlatformThread::Join(PlatformThreadHandle thread_handle) { in Join() argument
206 CHECK_EQ(0, pthread_join(thread_handle.platform_handle(), NULL)); in Join()
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);
Dthread.h175 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/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()