clang-tools
7.0.0
|
Limits the number of threads that can acquire the lock at the same time. More...
#include <Threading.h>
Public Member Functions | |
Semaphore (std::size_t MaxLocks) | |
void | lock () |
void | unlock () |
Limits the number of threads that can acquire the lock at the same time.
Definition at line 40 of file Threading.h.
clang::clangd::Semaphore::Semaphore | ( | std::size_t | MaxLocks | ) |
Definition at line 24 of file Threading.cpp.
void clang::clangd::Semaphore::lock | ( | ) |
Definition at line 26 of file Threading.cpp.
void clang::clangd::Semaphore::unlock | ( | ) |
Definition at line 37 of file Threading.cpp.