Home
last modified time | relevance | path

Searched refs:thread_function (Results 1 – 25 of 41) sorted by relevance

12

/aosp_15_r20/external/webrtc/rtc_base/
H A Dplatform_thread.cc130 std::function<void()> thread_function, in SpawnJoinable() argument
133 return SpawnThread(std::move(thread_function), name, attributes, in SpawnJoinable()
138 std::function<void()> thread_function, in SpawnDetached() argument
141 return SpawnThread(std::move(thread_function), name, attributes, in SpawnDetached()
172 std::function<void()> thread_function, in SpawnThread() argument
176 RTC_DCHECK(thread_function); in SpawnThread()
181 new std::function<void()>([thread_function = std::move(thread_function), in SpawnThread()
185 thread_function(); in SpawnThread()
H A Dplatform_thread.h85 std::function<void()> thread_function,
92 std::function<void()> thread_function,
106 static PlatformThread SpawnThread(std::function<void()> thread_function,
H A Dasync_resolver.cc155 auto thread_function = in Start() local
180 std::make_unique<absl::AnyInvocable<void() &&>>(thread_function)); in Start()
182 PlatformThread::SpawnDetached(std::move(thread_function), "AsyncResolver"); in Start()
/aosp_15_r20/external/pthreadpool/src/
H A Dgcd.c29 const thread_function_t thread_function = in thread_main() local
30 (thread_function_t) pthreadpool_load_relaxed_void_p(&threadpool->thread_function); in thread_main()
38 thread_function(threadpool, thread); in thread_main()
78 thread_function_t thread_function, in pthreadpool_parallelize() argument
87 assert(thread_function != NULL); in pthreadpool_parallelize()
95 pthreadpool_store_relaxed_void_p(&threadpool->thread_function, (void*) thread_function); in pthreadpool_parallelize()
H A Dpthreads.c203 const thread_function_t thread_function = in thread_main() local
204 (thread_function_t) pthreadpool_load_relaxed_void_p(&threadpool->thread_function); in thread_main()
210 thread_function(threadpool, thread); in thread_main()
296 thread_function_t thread_function, in pthreadpool_parallelize() argument
305 assert(thread_function != NULL); in pthreadpool_parallelize()
318 pthreadpool_store_relaxed_void_p(&threadpool->thread_function, (void*) thread_function); in pthreadpool_parallelize()
387 thread_function(threadpool, &threadpool->threads[0]); in pthreadpool_parallelize()
H A Dwindows.c105 const thread_function_t thread_function = in thread_main() local
106 (thread_function_t) pthreadpool_load_relaxed_void_p(&threadpool->thread_function); in thread_main()
112 thread_function(threadpool, thread); in thread_main()
192 thread_function_t thread_function, in pthreadpool_parallelize() argument
201 assert(thread_function != NULL); in pthreadpool_parallelize()
210 pthreadpool_store_relaxed_void_p(&threadpool->thread_function, (void*) thread_function); in pthreadpool_parallelize()
284 thread_function(threadpool, &threadpool->threads[0]); in pthreadpool_parallelize()
H A Dthreadpool-object.h609 pthreadpool_atomic_void_p thread_function; member
722 thread_function_t thread_function,
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/asio/include/boost/asio/impl/
Dthread_pool.ipp28 struct thread_pool::thread_function
68 thread_function f = { &scheduler_ };
94 thread_function f = { &scheduler_ };
112 thread_function f = { &scheduler_ };
Dsystem_context.ipp26 struct system_context::thread_function
53 thread_function f = { &scheduler_ };
/aosp_15_r20/external/google-breakpad/src/client/linux/minidump_writer/
H A Dlinux_dumper_unittest_helper.cc63 void* thread_function(void* data) { in thread_function() function
96 pthread_create(&threads[i], &thread_attributes, &thread_function, &pipefd); in main()
98 thread_function(&pipefd); in main()
/aosp_15_r20/external/ltp/testcases/open_posix_testsuite/conformance/definitions/pthread_h/
H A D4-1-buildonly.c17 static void *thread_function(void *arg PTS_ATTRIBUTE_UNUSED) in thread_function() function
26 pthread_create(&a_thread, NULL, thread_function, NULL); in dummy_func()
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/atomic/test/
Datomicity.cpp62 … boost::thread(boost::bind(&concurrent_runner::thread_function, this, fn, 0)).swap(first_thread_); in concurrent_runner()
63 … boost::thread(boost::bind(&concurrent_runner::thread_function, this, fn, 1)).swap(second_thread_); in concurrent_runner()
98 void thread_function(boost::function<bool(std::size_t)> function, std::size_t instance) in thread_function() function in concurrent_runner
Datomicity_ref.cpp68 … boost::thread(boost::bind(&concurrent_runner::thread_function, this, fn, 0)).swap(first_thread_); in concurrent_runner()
69 … boost::thread(boost::bind(&concurrent_runner::thread_function, this, fn, 1)).swap(second_thread_); in concurrent_runner()
104 void thread_function(boost::function<bool(std::size_t)> function, std::size_t instance) in thread_function() function in concurrent_runner
/aosp_15_r20/external/mesa3d/src/gallium/tests/unit/
H A Dpipe_barrier_test.c71 thread_function(void *thread_data) in thread_function() function
117 u_thread_create(threads + i, thread_function, (void *) &thread_ids[i]); in main()
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/asio/include/boost/asio/detail/impl/
Dwin_iocp_io_context.ipp37 struct win_iocp_io_context::thread_function
39 explicit thread_function(win_iocp_io_context* s)
109 thread_.reset(new boost::asio::detail::thread(thread_function(this)));
571 timer_thread_function thread_function = { this };
572 timer_thread_.reset(new thread(thread_function, 65536));
Dselect_reactor.ipp38 class select_reactor::thread_function
41 explicit thread_function(select_reactor* r)
69 thread_ = new boost::asio::detail::thread(thread_function(this));
Dscheduler.ipp34 class scheduler::thread_function
37 explicit thread_function(scheduler* s)
131 thread_ = new boost::asio::detail::thread(thread_function(this));
/aosp_15_r20/bionic/tests/
H A Dleak_test.cpp150 const auto thread_function = +[](void* ptr) -> void* { in TEST() local
157 ASSERT_EQ(0, pthread_create(&thread, nullptr, thread_function, &threads[i])); in TEST()
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/asio/include/boost/asio/detail/
Dscheduler.hpp170 class thread_function;
171 friend class thread_function;
Dselect_reactor.hpp209 class thread_function;
210 friend class thread_function;
Dwin_iocp_io_context.hpp296 struct thread_function;
297 friend struct thread_function;
/aosp_15_r20/system/core/init/
H A Dueventd_test.cpp166 auto thread_function = [&]() { in TEST() local
188 [&]() { return std::thread(thread_function); }); in TEST()
/aosp_15_r20/external/google-breakpad/src/common/linux/tests/
H A Dcrash_generator.cc85 void* thread_function(void* data) { in thread_function() function
324 thread_function, &thread_data[i]) != 0) { in CreateThreadsInChildProcess()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/lldb/Host/
DThreadLauncher.h24 std::function<lldb::thread_result_t()> thread_function,
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/lldb/Host/
DThreadLauncher.h24 std::function<lldb::thread_result_t()> thread_function,

12