A class which is like std::mutex but does not do any real actions.
More...
#include <sync_helpers.hpp>
A class which is like std::mutex but does not do any real actions.
- Note
- Since v.5.8.3 it can also be used instead of std::shared_mutex because empty method lock_shared() and unlock_shared() were added in v.5.8.3.
- Since
- v.5.5.19.2
Definition at line 30 of file sync_helpers.hpp.
◆ null_mutex_t() [1/3]
so_5::null_mutex_t::null_mutex_t |
( |
| ) |
|
|
inline |
◆ null_mutex_t() [2/3]
◆ null_mutex_t() [3/3]
◆ lock()
void so_5::null_mutex_t::lock |
( |
| ) |
|
|
inline |
◆ lock_shared()
void so_5::null_mutex_t::lock_shared |
( |
| ) |
|
|
inline |
◆ unlock()
void so_5::null_mutex_t::unlock |
( |
| ) |
|
|
inline |
◆ unlock_shared()
void so_5::null_mutex_t::unlock_shared |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: