member function template
std::counting_semaphore::try_acquire_until
- Header
<semaphore>- Draft
- [sema.cnt]
- Scope
std::counting_semaphore- cppreference
- std::counting_semaphore::try_acquire_until
Synopsis
template<class Clock, class Duration>
[[nodiscard]] bool try_acquire_until(const chrono::time_point<Clock, Duration>& abs_time);