Searched refs:Semaphore (Results 1 – 12 of 12) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clangd/support/ |
| H A D | Threading.cpp | 42 Semaphore::Semaphore(std::size_t MaxLocks) : FreeSlots(MaxLocks) {} in Semaphore() function in clang::clangd::Semaphore 44 bool Semaphore::try_lock() { in try_lock() 53 void Semaphore::lock() { in lock() 64 void Semaphore::unlock() { in unlock()
|
| H A D | Threading.h | 28 class Semaphore { 30 Semaphore(std::size_t MaxLocks);
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_mutex.h | 66 class Semaphore { 68 constexpr Semaphore() {} in Semaphore() function 69 Semaphore(const Semaphore &) = delete; 70 void operator=(const Semaphore &) = delete; 328 Semaphore writers_; 329 Semaphore readers_;
|
| H A D | sanitizer_mutex.cpp | 31 void Semaphore::Wait() { in Wait() 45 void Semaphore::Post(u32 count) { in Post()
|
| H A D | sanitizer_stackdepot.cpp | 117 Semaphore semaphore_ = {};
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_mutex_test.cpp | 168 Semaphore *sem; 179 TEST(SanitizerCommon, Semaphore) { in TEST() argument 180 Semaphore sem; in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | TUScheduler.h | 361 llvm::unique_function<void()> Action, Semaphore &Sem); 366 Semaphore Barrier; 367 Semaphore QuickRunBarrier;
|
| H A D | TUScheduler.cpp | 597 Semaphore &Barrier, bool RunSync, const TUScheduler::Options &Opts, 610 AsyncTaskRunner *Tasks, Semaphore &Barrier, 716 Semaphore &Barrier; 807 AsyncTaskRunner *Tasks, Semaphore &Barrier, in create() 826 Semaphore &Barrier, bool RunSync, in ASTWorker() 1419 std::unique_lock<Semaphore> Lock(Barrier, std::try_to_lock); in run() 1694 Semaphore &Sem) { in runWithSemaphore() 1706 std::lock_guard<Semaphore> BarrierLock(Sem); in runWithSemaphore() 1775 std::lock_guard<Semaphore> BarrierLock(Barrier); in runWithPreamble()
|
| /llvm-project-15.0.7/bolt/include/bolt/Core/ |
| H A D | BinarySection.h | 474 uint64_t Semaphore; member
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_interceptors_posix.cpp | 980 Semaphore created; 981 Semaphore started;
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_interceptors_posix.cpp | 985 Semaphore created; 986 Semaphore started;
|
| /llvm-project-15.0.7/bolt/lib/Rewrite/ |
| H A D | RewriteInstance.cpp | 580 Marker.Semaphore = DE.getU64(&Offset); in parseSDTNotes() 639 << ", Semaphore: " << utohexstr(Marker.Semaphore) in printSDTMarkers()
|