#include <Semaphore.h>
Definition at line 18 of file Semaphore.h.
◆ Semaphore()
| Aws::Utils::Threading::Semaphore::Semaphore | ( | size_t | initialCount, |
| size_t | maxCount | ||
| ) |
Initializes a new instance of Semaphore class specifying the initial number of entries and the maximum number of concurrent entries.
| void Aws::Utils::Threading::Semaphore::Release | ( | ) |
Exits the semaphore once.
◆ ReleaseAll()
| void Aws::Utils::Threading::Semaphore::ReleaseAll | ( | ) |
Exit the semaphore up to the maximum number of entries available.
| void Aws::Utils::Threading::Semaphore::WaitOne | ( | ) |
Blocks the current thread until it receives a signal.
The documentation for this class was generated from the following file:
- aws-cpp-sdk-core/include/aws/core/utils/threading/Semaphore.h