Lines Matching defs:thread
23 Runner::Runner(uint32_t threadNum, const std::function<void(os::thread::native_handle_type)> prologueHook,
24 const std::function<void(os::thread::native_handle_type)> epilogueHook)
30 // main thread is 0;
31 std::unique_ptr<std::thread> thread = std::make_unique<std::thread>([this, i] {this->Run(i + 1);});
32 threadPool_.emplace_back(std::move(thread));
113 gcThreadId_.emplace_back(os::thread::GetCurrentThreadId());
124 os::thread::native_handle_type thread = os::thread::GetNativeHandle();
125 os::thread::SetThreadName(thread, "OS_GC_Thread");
126 PrologueHook(thread);
133 EpilogueHook(thread);