19 #include <condition_variable> 47 template <
typename Integer>
49 template <
typename Integer,
typename Clock,
typename Duration>
51 const std::atomic<Integer>* atomic,
53 const std::chrono::time_point<Clock, Duration>& deadline);
56 template <
typename Integer>
59 template <
typename Integer>
—— Concurrent Priority Queue Implementation ——
void atomic_notify_all(const std::atomic< Integer > *atomic)
void atomic_wait(const std::atomic< Integer > *atomic, Integer expected)
void atomic_notify_one(const std::atomic< Integer > *atomic)
std::atomic< std::uint32_t > atomic_uint_fast_wait_t
std::cv_status atomic_wait_until(const std::atomic< Integer > *atomic, Integer expected, const std::chrono::time_point< Clock, Duration > &deadline)