Utility to create named critical sections Key should be usable in a std::map. More...
#include <Tools.h>
Classes | |
class | Handler |
Public Member Functions | |
void | start (const Key &key) |
Handler | startStop (const Key &key) |
void | stop (const Key &key) |
Private Attributes | |
std::map< Key, int > | in_progress |
std::mutex | mutex |
std::condition_variable | notify |
Utility to create named critical sections Key should be usable in a std::map.
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
Hosted by GitHub | 1.8.17 |