Home
last modified time | relevance | path

Searched refs:this_thread (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dthread.cppm
/freebsd/contrib/llvm-project/libcxx/include/__thread/
H A Dthis_thread.h30 namespace this_thread {
48 this_thread::sleep_for(__ns); in sleep_for()
63 this_thread::sleep_for(__t - chrono::steady_clock::now()); in sleep_until()
H A Did.h28 namespace this_thread {
73 friend __thread_id this_thread::get_id() _NOEXCEPT;
111 namespace this_thread {
/freebsd/contrib/llvm-project/libcxx/include/
H A Dthread70 namespace this_thread
83 } // this_thread
96 # include <__thread/this_thread.h>
H A Dmutex306 __thread_id __id = this_thread::get_id();
/freebsd/sys/fs/nfsserver/
H A Dnfs_fha_new.c458 struct fha_hash_entry *fhe, struct fha_info *i, SVCTHREAD *this_thread) in fha_hash_entry_choose_thread() argument
525 thread = this_thread; in fha_hash_entry_choose_thread()
547 fhanew_assign(SVCTHREAD *this_thread, struct svc_req *req) in fhanew_assign() argument
584 thread = fha_hash_entry_choose_thread(softc, fhe, &i, this_thread); in fhanew_assign()
602 mtx_lock(&this_thread->st_lock); in fhanew_assign()
603 return (this_thread); in fhanew_assign()
H A Dnfs_fha_new.h100 SVCTHREAD *fhanew_assign(SVCTHREAD *this_thread, struct svc_req *req);
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A Dthread.h151 namespace this_thread {
204 namespace this_thread {
205 inline thread::id get_id() { return std::this_thread::get_id(); }
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stoptheworld_win.cpp86 const DWORD this_thread = GetCurrentThreadId(); in RunThread() local
105 if (thread_entry.th32ThreadID == this_thread || in RunThread()
/freebsd/contrib/llvm-project/libcxx/src/
H A Dmutex.cpp107 __thread_id id = this_thread::get_id(); in lock()
122 __thread_id id = this_thread::get_id(); in try_lock()
H A Dbarrier.cpp34 … __current = hash<thread::id>()(this_thread::get_id()) % ((__expected_ + 1) >> 1); in __arrive()
H A Dthread.cpp90 namespace this_thread { in hardware_concurrency()
98 } // namespace this_thread in hardware_concurrency()
103 namespace this_thread global() namespace
/freebsd/contrib/llvm-project/libcxx/include/__stop_token/
H A Dstop_state.h108 __requesting_thread_ = this_thread::get_id(); in __request_stop()
177 if (std::this_thread::get_id() != __requested_thread) { in __remove_callback()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DExponentialBackoff.cpp27 std::this_thread::sleep_for(WaitDuration); in waitForNextAttempt()
H A DThreadPool.cpp171 llvm::thread::id CurrentThreadId = llvm::this_thread::get_id(); in isWorkerThread()
H A DParallel.cpp85 std::thread::id CurrentThreadId = std::this_thread::get_id(); in ~ThreadPoolExecutor()
/freebsd/contrib/llvm-project/compiler-rt/lib/rtsan/tests/
H A Drtsan_test_functional.cpp62 auto Func = []() { std::this_thread::sleep_for(1us); }; in TEST()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerPlatform.cpp356 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in KillSpawnedProcess()
377 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in KillSpawnedProcess()
H A DProcessGDBRemote.cpp830 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in ConnectToDebugserver()
3476 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in MonitorDebugserverProcess()
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-port-test.cc341 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in TEST()
1064 std::this_thread::sleep_for( in Increment()
1073 std::this_thread::sleep_for( in Increment()
/freebsd/contrib/llvm-project/lldb/source/Host/posix/
H A DPipePosix.cpp198 std::this_thread::sleep_for( in OpenAsWriterWithTimeout()
/freebsd/contrib/llvm-project/llvm/lib/Debuginfod/
H A DDebuginfod.cpp391 std::this_thread::sleep_for(Interval); in updateForever()
/freebsd/lib/libc++/
H A DMakefile1178 THR_HEADERS+= this_thread.h
H A Dlibcxx.imp704 { include: [ "<__thread/this_thread.h>", "private", "<thread>", "public" ] },
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DStdSymbolMap.inc3843 SYMBOL(get_id, std::this_thread::, <thread>)
3844 SYMBOL(sleep_for, std::this_thread::, <thread>)
3845 SYMBOL(sleep_until, std::this_thread::, <thread>)
3846 SYMBOL(yield, std::this_thread::, <thread>)

12