Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dthread.cppm
H A Dthread.inc20 // [thread.thread.this], namespace this_thread
21 namespace this_thread {
22 using std::this_thread::get_id;
24 using std::this_thread::sleep_for;
25 using std::this_thread::sleep_until;
26 using std::this_thread::yield;
27 } // namespace this_thread
/freebsd/contrib/llvm-project/libcxx/include/__thread/
H A Dthis_thread.h31 namespace this_thread {
51 this_thread::sleep_for(__ns); in sleep_for()
66 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/__cxx03/__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.h27 namespace this_thread {
68 friend __thread_id this_thread::get_id() _NOEXCEPT;
92 namespace this_thread {
/freebsd/contrib/llvm-project/libcxx/include/
H A Dthread70 namespace this_thread
83 } // this_thread
96 # include <__thread/this_thread.h>
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dthread70 namespace this_thread
83 } // this_thread
94 # include <__cxx03/__thread/this_thread.h>
H A Dmutex303 __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/libcxx/src/
H A Dmutex.cpp108 __thread_id id = this_thread::get_id(); in lock()
123 __thread_id id = this_thread::get_id(); in try_lock()
H A Dbarrier.cpp32 … __current = hash<thread::id>()(this_thread::get_id()) % ((__expected_ + 1) >> 1); in __arrive()
H A Dthread.cpp92 namespace this_thread { namespace
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A Dthread.h154 namespace this_thread {
207 namespace this_thread {
208 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.cpp88 const DWORD this_thread = GetCurrentThreadId(); in RunThread() local
107 if (thread_entry.th32ThreadID == this_thread || in RunThread()
/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/compiler-rt/lib/rtsan/tests/
H A Drtsan_test_functional.cpp63 auto Func = []() { std::this_thread::sleep_for(1us); }; in TEST()
69 auto Func = []() { std::this_thread::yield(); }; in TEST()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DExponentialBackoff.cpp27 std::this_thread::sleep_for(WaitDuration); in waitForNextAttempt()
H A DThreadPool.cpp170 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/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerPlatform.cpp275 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in KillSpawnedProcess()
290 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in KillSpawnedProcess()
/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.cpp193 std::this_thread::sleep_for( in OpenAsWriter()
/freebsd/contrib/llvm-project/llvm/lib/Debuginfod/
H A DDebuginfod.cpp403 std::this_thread::sleep_for(Interval); in updateForever()

12