/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/test/ |
D | platform_thread.cc | 32 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 …]
|
D | platform_thread.h | 61 static bool Create(Delegate* delegate, PlatformThreadHandle* thread_handle); 66 static void Join(PlatformThreadHandle thread_handle);
|
/third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
D | platform_thread.cc | 32 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 …]
|
D | platform_thread.h | 61 static bool Create(Delegate* delegate, PlatformThreadHandle* thread_handle); 66 static void Join(PlatformThreadHandle thread_handle);
|
/third_party/boost/libs/exception/test/ |
D | exception_ptr_test.cpp | 17 class thread_handle; 18 boost::shared_ptr<thread_handle> create_thread( boost::function<void()> const & f ); 19 void join( thread_handle & t ); 22 thread_handle class 24 thread_handle( thread_handle const & ); 25 thread_handle & operator=( thread_handle const & ); 46 thread_handle( boost::function<void()> const & f ): in thread_handle() function in thread_handle 51 friend boost::shared_ptr<thread_handle> create_thread( boost::function<void()> const & f ); 52 friend void join( thread_handle & t ); 55 boost::shared_ptr<thread_handle> [all …]
|
/third_party/curl/lib/ |
D | curl_threads.c | 115 curl_win_thread_handle_t thread_handle; in Curl_thread_create() local 117 thread_handle = CreateThread(NULL, 0, func, arg, 0, NULL); in Curl_thread_create() 119 thread_handle = _beginthreadex(NULL, 0, func, arg, 0, NULL); in Curl_thread_create() 121 t = (curl_thread_t)thread_handle; in Curl_thread_create()
|
/third_party/gn/src/util/ |
D | worker_pool.cc | 35 const HANDLE thread_handle = HANDLE(thread->native_handle()); in SetProcessorGroup() local 36 ::GetThreadGroupAffinity(thread_handle, &group_affinity_); in SetProcessorGroup() 39 ::SetThreadGroupAffinity(thread_handle, &group_affinity_, nullptr); in SetProcessorGroup()
|
/third_party/boost/libs/thread/src/pthread/ |
D | thread.cpp | 263 … int const res = pthread_create(&thread_info->thread_handle, 0, &thread_proxy, thread_info.get()); in start_thread_noexcept() 276 int res = pthread_create(&thread_info->thread_handle, h, &thread_proxy, thread_info.get()); in start_thread_noexcept() 345 BOOST_VERIFY(!pthread_join(local_thread_info->thread_handle,&result)); in join_noexcept() 398 BOOST_VERIFY(!pthread_join(local_thread_info->thread_handle,&result)); in do_try_join_until_noexcept() 433 BOOST_VERIFY(!pthread_detach(local_thread_info->thread_handle)); in detach() 612 return local_thread_info->thread_handle; in native_handle()
|
/third_party/boost/libs/thread/src/win32/ |
D | thread.cpp | 317 …if (!thread_info->thread_handle.start(&thread_start_function, thread_info.get(), &thread_info->id)) in start_thread_noexcept() 330 thread_info->thread_handle=(detail::win32::handle)(new_thread); in start_thread_noexcept() 331 ResumeThread(thread_info->thread_handle); in start_thread_noexcept() 350 thread_info->thread_handle=(detail::win32::handle)(new_thread); in start_thread_noexcept() 351 ResumeThread(thread_info->thread_handle); in start_thread_noexcept() 549 return local_thread_info->thread_handle.waitable_handle(); in native_handle() 551 return (detail::win32::handle)local_thread_info->thread_handle; in native_handle()
|
/third_party/boost/boost/thread/win32/ |
D | thread_data.hpp | 106 detail::win32::scoped_winrt_thread thread_handle; member 108 detail::win32::handle_manager thread_handle; member 133 thread_handle(), in thread_data_base()
|
/third_party/boost/libs/thread/test/ |
D | test_tss.cpp | 138 native_thread_t thread_handle; in create_native_thread() local 140 int const res = pthread_create(&thread_handle, 0, &test_tss_thread_native, 0); in create_native_thread() 142 return thread_handle; in create_native_thread()
|
/third_party/gn/src/base/win/ |
D | scoped_process_information.h | 53 HANDLE thread_handle() const { return thread_handle_.Get(); } in thread_handle() function
|
D | scoped_process_information.cc | 77 CheckAndDuplicateHandle(other.thread_handle(), &thread_handle_)) { in DuplicateFrom()
|
/third_party/boost/boost/thread/pthread/ |
D | thread_data.hpp | 116 pthread_t thread_handle; member 149 thread_handle(0), in thread_data_base()
|
/third_party/mesa3d/src/gtest/src/ |
D | gtest-port.cc | 471 HANDLE thread_handle = ::CreateThread( in CreateThread() local 478 GTEST_CHECK_(thread_handle != nullptr) in CreateThread() 480 if (thread_handle == nullptr) { in CreateThread() 483 return thread_handle; in CreateThread()
|
/third_party/googletest/googletest/src/ |
D | gtest-port.cc | 473 HANDLE thread_handle = ::CreateThread( in CreateThread() local 480 GTEST_CHECK_(thread_handle != nullptr) in CreateThread() 482 if (thread_handle == nullptr) { in CreateThread() 485 return thread_handle; in CreateThread()
|
/third_party/glib/glib/ |
D | giowin32.c | 539 HANDLE thread_handle; in create_thread() local 542 thread_handle = (HANDLE) _beginthreadex (NULL, 0, thread, channel, 0, in create_thread() 545 if (thread_handle == 0) in create_thread() 548 else if (!CloseHandle (thread_handle)) in create_thread()
|
/third_party/cef/tools/distrib/gtest/ |
D | gtest-all.cc | 10801 HANDLE thread_handle = ::CreateThread( in CreateThread() local 10808 GTEST_CHECK_(thread_handle != nullptr) in CreateThread() 10810 if (thread_handle == nullptr) { in CreateThread() 10813 return thread_handle; in CreateThread()
|
/third_party/boost/libs/thread/doc/ |
D | changes.qbk | 519 * [@http://svn.boost.org/trac/boost/ticket/8530 #8530] [Coverity] Unused variable thread_handle, un…
|