◆ notify_all()
| void pstore::signal_cv::notify_all |
( |
int const |
signal | ) |
|
|
inlinenoexcept |
Unblocks all threads currently waiting for *this.
- Parameters
-
| signal | The signal number responsible for the "wake". |
- Note
- On POSIX, this function is called from a signal handler. It must only call signal-safe functions.
◆ wait()
| void pstore::signal_cv::wait |
( |
std::unique_lock< std::mutex > & |
lock | ) |
|
|
inline |
Releases lock and blocks the current executing thread.
The thread will be unblocked when notify() is executed. When unblocked, lock is reacquired and wait exits.
- Parameters
-
| lock | An object of type std::unique_lock<std::mutex>, which must be locked by the current thread |
The documentation for this class was generated from the following file: