MySQL 9.1.0
Source Code Documentation
|
Monitor pattern. More...
#include <monitor.h>
Public Member Functions | |
Monitor (T t) | |
template<class F > | |
auto | operator() (F f) const |
Protected Attributes | |
T | t_ |
std::mutex | mtx_ |
Monitor pattern.
implemented based on Herb Sutters example.
|
mutableprotected |
|
mutableprotected |