/external/sfntly/cpp/src/test/ |
platform_thread.cc | 32 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) { 44 assert(thread_handle); 45 DWORD result = WaitForSingleObject(thread_handle, INFINITE); 47 CloseHandle(thread_handle); 66 PlatformThreadHandle* thread_handle) { 67 assert(thread_handle); [all...] |
platform_thread.h | 55 // |*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);
|
/system/bt/btif/src/ |
btif_sock.c | 42 static int thread_handle = -1; variable 57 assert(thread_handle == -1); 61 thread_handle = btsock_thread_create(btsock_signaled, NULL); 62 if (thread_handle == -1) { 67 bt_status_t status = btsock_rfc_init(thread_handle, uid_set); 73 status = btsock_l2cap_init(thread_handle, uid_set); 98 if (thread_handle != -1) 99 btsock_thread_exit(thread_handle); 100 thread_handle = -1; 106 if (thread_handle == -1 [all...] |
btif_sock_thread.c | 273 bool btsock_thread_remove_fd_and_close(int thread_handle, int fd) 275 if (thread_handle < 0 || thread_handle >= MAX_THREAD) 277 APPL_TRACE_ERROR("%s invalid thread handle: %d", __func__, thread_handle); 289 OSI_NO_INTR(ret = send(ts[thread_handle].cmd_fdw, &cmd, sizeof(cmd), 0));
|
/external/libhevc/common/ |
ithread.c | 64 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument) 66 return pthread_create((pthread_t *)thread_handle, attribute, (void * (*)(void *))strt, argument); 69 WORD32 ithread_join(void *thread_handle, void **val_ptr) 71 pthread_t *pthread_handle = (pthread_t *)thread_handle;
|
ithread.h | 43 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument);
|
/external/libchrome/base/threading/ |
platform_thread_posix.cc | 80 PlatformThreadHandle* thread_handle, 82 DCHECK(thread_handle); 117 *thread_handle = PlatformThreadHandle(handle); 185 PlatformThreadHandle* thread_handle, 188 delegate, thread_handle, priority); 201 void PlatformThread::Join(PlatformThreadHandle thread_handle) { 203 // the thread referred to by |thread_handle| may still be running long-lived / 206 CHECK_EQ(0, pthread_join(thread_handle.platform_handle(), NULL));
|
platform_thread.h | 154 // |*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);
|
thread.h | 175 PlatformThreadHandle thread_handle() { return thread_; } function in class:base::Thread
|
/external/libavc/common/ |
ithread.c | 77 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument) 80 return pthread_create((pthread_t *)thread_handle, NULL,(void *(*)(void *)) strt, argument); 83 WORD32 ithread_join(void *thread_handle, void ** val_ptr) 86 pthread_t *pthread_handle = (pthread_t *)thread_handle;
|
ithread.h | 65 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument);
|
/external/libmpeg2/common/ |
ithread.c | 70 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument) 73 return pthread_create((pthread_t *)thread_handle, NULL,(void *(*)(void *)) strt, argument); 76 WORD32 ithread_join(void *thread_handle, void ** val_ptr) 78 pthread_t *pthread_handle = (pthread_t *)thread_handle;
|
ithread.h | 45 WORD32 ithread_create(void *thread_handle, void *attribute, void *strt, void *argument);
|
/system/bt/btif/include/ |
btif_sock_thread.h | 46 bool btsock_thread_remove_fd_and_close(int thread_handle, int fd);
|
/development/host/windows/usb/adb_winapi_test/ |
adb_winapi_test.cpp | 713 HANDLE thread_handle = reinterpret_cast<HANDLE>(
local 715 if (thread_handle == NULL) {
773 if (WaitForSingleObject(thread_handle, INFINITE) != WAIT_OBJECT_0) {
776 if (!CloseHandle(thread_handle)) {
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/ |
gtest-port.cc | 291 HANDLE thread_handle = ::CreateThread( local 298 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error " 300 if (thread_handle == NULL) { 303 return thread_handle; [all...] |