|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
A condition variable registered with the mutex of its waiters. More...
#include <thread_pool.H>
Public Attributes | |
| std::condition_variable * | cv |
| Condition variable to notify. | |
| std::mutex * | mutex |
| Mutex that its waiters hold. | |
| size_t | busy = 0 |
| Cancellations notifying it right now. | |
| bool | removed = false |
| Whether its registration has ended. | |
A condition variable registered with the mutex of its waiters.
Made by CancellationToken::notify_on_cancel(cv, mutex).
Definition at line 198 of file thread_pool.H.
| size_t Aleph::cancellation_detail::Locked_Observer::busy = 0 |
Cancellations notifying it right now.
Definition at line 202 of file thread_pool.H.
| std::condition_variable* Aleph::cancellation_detail::Locked_Observer::cv |
Condition variable to notify.
Definition at line 200 of file thread_pool.H.
| std::mutex* Aleph::cancellation_detail::Locked_Observer::mutex |
Mutex that its waiters hold.
Definition at line 201 of file thread_pool.H.
| bool Aleph::cancellation_detail::Locked_Observer::removed = false |
Whether its registration has ended.
Definition at line 203 of file thread_pool.H.