Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/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);
/third_party/skia/third_party/externals/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);
/third_party/boost/libs/exception/test/
Dexception_ptr_test.cpp17 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/
Dcurl_threads.c115 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/
Dworker_pool.cc35 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/
Dthread.cpp263 … 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/
Dthread.cpp317 …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/
Dthread_data.hpp106 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/
Dtest_tss.cpp138 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/
Dscoped_process_information.h53 HANDLE thread_handle() const { return thread_handle_.Get(); } in thread_handle() function
Dscoped_process_information.cc77 CheckAndDuplicateHandle(other.thread_handle(), &thread_handle_)) { in DuplicateFrom()
/third_party/boost/boost/thread/pthread/
Dthread_data.hpp116 pthread_t thread_handle; member
149 thread_handle(0), in thread_data_base()
/third_party/mesa3d/src/gtest/src/
Dgtest-port.cc471 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/
Dgtest-port.cc473 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/
Dgiowin32.c539 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/
Dgtest-all.cc10801 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/
Dchanges.qbk519 * [@http://svn.boost.org/trac/boost/ticket/8530 #8530] [Coverity] Unused variable thread_handle, un…