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

/external/sfntly/cpp/src/test/
H A Dplatform_thread.cc32 PlatformThreadHandle* thread_handle) {
33 assert(thread_handle);
34 *thread_handle = CreateThread(NULL, 0, ThreadFunc, delegate, 0, NULL);
35 if (!(*thread_handle)) {
43 void PlatformThread::Join(PlatformThreadHandle thread_handle) { argument
44 assert(thread_handle);
45 DWORD result = WaitForSingleObject(thread_handle, INFINITE);
47 CloseHandle(thread_handle);
66 PlatformThreadHandle* thread_handle) {
67 assert(thread_handle);
31 Create(Delegate* delegate, PlatformThreadHandle* thread_handle) argument
[all...]
H A Dplatform_thread.h55 // |*thread_handle| will be assigned a handle to the newly created thread,
61 static bool Create(Delegate* delegate, PlatformThreadHandle* thread_handle);
65 // |thread_handle|.
66 static void Join(PlatformThreadHandle thread_handle);
/external/libchrome/base/threading/
H A Dplatform_thread.h154 // |*thread_handle| will be assigned a handle to the newly created thread,
162 PlatformThreadHandle* thread_handle) {
163 return CreateWithPriority(stack_size, delegate, thread_handle,
170 PlatformThreadHandle* thread_handle,
180 // |thread_handle|.
181 static void Join(PlatformThreadHandle thread_handle);
184 // and |thread_handle| is invalidated after this call.
185 static void Detach(PlatformThreadHandle thread_handle);
160 Create(size_t stack_size, Delegate* delegate, PlatformThreadHandle* thread_handle) argument
H A Dplatform_thread_posix.cc83 PlatformThreadHandle* thread_handle,
85 DCHECK(thread_handle);
120 *thread_handle = PlatformThreadHandle(handle);
188 PlatformThreadHandle* thread_handle,
191 delegate, thread_handle, priority);
204 void PlatformThread::Join(PlatformThreadHandle thread_handle) { argument
206 // the thread referred to by |thread_handle| may still be running long-lived /
209 CHECK_EQ(0, pthread_join(thread_handle.platform_handle(), NULL));
213 void PlatformThread::Detach(PlatformThreadHandle thread_handle) { argument
214 CHECK_EQ(0, pthread_detach(thread_handle
80 CreateThread(size_t stack_size, bool joinable, PlatformThread::Delegate* delegate, PlatformThreadHandle* thread_handle, ThreadPriority priority) argument
187 CreateWithPriority(size_t stack_size, Delegate* delegate, PlatformThreadHandle* thread_handle, ThreadPriority priority) argument
[all...]
H A Dthread.h176 PlatformThreadHandle thread_handle() { return thread_; } function in class:base::Thread
/external/libhevc/common/
H A Dithread.c64 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument) argument
66 return pthread_create((pthread_t *)thread_handle, attribute, (void * (*)(void *))strt, argument);
69 WORD32 ithread_join(void *thread_handle, void **val_ptr) argument
71 pthread_t *pthread_handle = (pthread_t *)thread_handle;
H A Dithread.h43 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument);
/external/libchrome/base/win/
H A Dscoped_handle_test_dll.cc57 HANDLE thread_handle = local
60 if (!thread_handle)
63 threads_.push_back(thread_handle);
/external/libavc/common/
H A Dithread.c77 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument) argument
80 return pthread_create((pthread_t *)thread_handle, NULL,(void *(*)(void *)) strt, argument);
83 WORD32 ithread_join(void *thread_handle, void ** val_ptr) argument
86 pthread_t *pthread_handle = (pthread_t *)thread_handle;
H A Dithread.h65 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument);
/external/libmpeg2/common/
H A Dithread.c70 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument) argument
73 return pthread_create((pthread_t *)thread_handle, NULL,(void *(*)(void *)) strt, argument);
76 WORD32 ithread_join(void *thread_handle, void ** val_ptr) argument
78 pthread_t *pthread_handle = (pthread_t *)thread_handle;
H A Dithread.h45 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument);
/external/googletest/googletest/src/
H A Dgtest-port.cc332 HANDLE thread_handle = ::CreateThread( local
339 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error "
341 if (thread_handle == NULL) {
344 return thread_handle;
/external/libvpx/libvpx/third_party/googletest/src/src/
H A Dgtest-port.cc332 HANDLE thread_handle = ::CreateThread( local
339 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error "
341 if (thread_handle == NULL) {
344 return thread_handle;
/external/v8/testing/gtest/src/
H A Dgtest-port.cc314 HANDLE thread_handle = ::CreateThread( local
321 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error "
323 if (thread_handle == NULL) {
326 return thread_handle;
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/
H A Dgtest-port.cc291 HANDLE thread_handle = ::CreateThread( local
298 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error "
300 if (thread_handle == NULL) {
303 return thread_handle;
/external/v8/src/base/platform/
H A Dtime.cc670 ThreadTicks ThreadTicks::GetForThread(const HANDLE& thread_handle) { argument
675 ::QueryThreadCycleTime(thread_handle, &thread_cycle_time);
H A Dtime.h410 static ThreadTicks GetForThread(const HANDLE& thread_handle);
/external/libchrome/base/time/
H A Dtime.h803 static ThreadTicks GetForThread(const PlatformThreadHandle& thread_handle);

Completed in 4127 milliseconds