condition_variable is a C++ STL conditional variable (std::condition_variable) implementation using the instrumented MySQL conditional variable component API.
More...
#include <instrumented_condition_variable.h>
condition_variable is a C++ STL conditional variable (std::condition_variable) implementation using the instrumented MySQL conditional variable component API.
This allows for P_S instrumentation of conditional variables in components.
- Note
- Some methods are missing. Implement as needed.
Example usage:
namespace x {
...
using mysql::condition_varible;
...
...
m.notifyAll(..);
...
};
condition_variable(PSI_cond_key key)
Definition: instrumented_condition_variable.h:65
◆ condition_variable() [1/2]
mysql::condition_variable::condition_variable |
( |
PSI_cond_key |
key | ) |
|
|
inline |
◆ condition_variable() [2/2]
◆ ~condition_variable()
mysql::condition_variable::~condition_variable |
( |
| ) |
|
|
inline |
◆ notify_all()
void mysql::condition_variable::notify_all |
( |
| ) |
|
|
inlinenoexcept |
◆ notify_one()
void mysql::condition_variable::notify_one |
( |
| ) |
|
|
inlinenoexcept |
◆ wait() [1/2]
void mysql::condition_variable::wait |
( |
unique_lock< mutex > & |
lock | ) |
|
|
inline |
◆ wait() [2/2]
void mysql::condition_variable::wait |
( |
unique_lock< mutex > & |
lock, |
|
|
Predicate |
stop_waiting |
|
) |
| |
|
inline |
◆ wait_until()
template<class Clock , class Duration >
cv_status mysql::condition_variable::wait_until |
( |
unique_lock< mutex > & |
lock, |
|
|
const time_point< Clock, Duration > & |
abs_time |
|
) |
| |
|
inline |
◆ m_cond
◆ m_key
The documentation for this class was generated from the following file: