HomeSort by relevance Sort by last modified time
    Searched refs:thread_handle (Results 1 - 24 of 24) sorted by null

  /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);
  /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.h 160 // |*thread_handle| will be assigned a handle to the newly created thread,
168 PlatformThreadHandle* thread_handle) {
169 return CreateWithPriority(stack_size, delegate, thread_handle,
176 PlatformThreadHandle* thread_handle,
192 // |thread_handle|.
193 static void Join(PlatformThreadHandle thread_handle);
196 // and |thread_handle| is invalidated after this call.
197 static void Detach(PlatformThreadHandle thread_handle);
platform_thread_posix.cc 84 PlatformThreadHandle* thread_handle,
86 DCHECK(thread_handle);
121 *thread_handle = PlatformThreadHandle(handle);
189 PlatformThreadHandle* thread_handle,
192 thread_handle, priority);
213 void PlatformThread::Join(PlatformThreadHandle thread_handle) {
215 base::debug::ScopedThreadJoinActivity thread_activity(&thread_handle);
218 // the thread referred to by |thread_handle| may still be running long-lived /
221 CHECK_EQ(0, pthread_join(thread_handle.platform_handle(), NULL));
225 void PlatformThread::Detach(PlatformThreadHandle thread_handle) {
    [all...]
  /system/bt/btif/src/
btif_sock.cc 53 static std::atomic_int thread_handle{-1};
67 CHECK(thread_handle == -1);
72 thread_handle = btsock_thread_create(btsock_signaled, NULL);
73 if (thread_handle == -1) {
78 status = btsock_rfc_init(thread_handle, uid_set);
85 status = btsock_l2cap_init(thread_handle, uid_set);
112 if (thread_handle != -1) btsock_thread_exit(thread_handle);
113 thread_handle = -1;
119 int saved_handle = thread_handle;
    [all...]
btif_sock_thread.cc 251 bool btsock_thread_remove_fd_and_close(int thread_handle, int fd) {
252 if (thread_handle < 0 || thread_handle >= MAX_THREAD) {
253 APPL_TRACE_ERROR("%s invalid thread handle: %d", __func__, thread_handle);
264 OSI_NO_INTR(ret = send(ts[thread_handle].cmd_fdw, &cmd, sizeof(cmd), 0));
  /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 49 bool btsock_thread_remove_fd_and_close(int thread_handle, int fd);
  /system/chre/host/msm/daemon/
chre_daemon.cc 96 static bool start_thread(pthread_t *thread_handle,
648 static bool start_thread(pthread_t *thread_handle,
651 int ret = pthread_create(thread_handle, NULL, thread_entry, arg);
  /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/googletest/googletest/src/
gtest-port.cc 332 HANDLE thread_handle = ::CreateThread( local
339 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error "
341 if (thread_handle == NULL) {
344 return thread_handle;
    [all...]
  /external/libvpx/libvpx/third_party/googletest/src/src/
gtest-port.cc 332 HANDLE thread_handle = ::CreateThread( local
339 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error "
341 if (thread_handle == NULL) {
344 return thread_handle;
    [all...]
  /external/v8/src/base/platform/
time.h 410 static ThreadTicks GetForThread(const HANDLE& thread_handle);
time.cc 670 ThreadTicks ThreadTicks::GetForThread(const HANDLE& thread_handle) {
675 ::QueryThreadCycleTime(thread_handle, &thread_cycle_time);
  /external/v8/testing/gtest/src/
gtest-port.cc 314 HANDLE thread_handle = ::CreateThread( local
321 GTEST_CHECK_(thread_handle != NULL) << "CreateThread failed with error "
323 if (thread_handle == NULL) {
326 return thread_handle;
    [all...]
  /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...]
  /prebuilts/ndk/r16/sources/third_party/vulkan/src/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...]
  /device/generic/goldfish-opengl/system/egl/
egl.cpp 451 uint64_t thread_handle; local
461 &thread_handle);
468 thread_handle,
    [all...]
  /external/libchrome/base/time/
time.h 832 static ThreadTicks GetForThread(const PlatformThreadHandle& thread_handle);

Completed in 952 milliseconds