No-op mutex used as basic_logger's default Mutex so single-threaded usage pays zero synchronization cost.
More...
#include <sync.hpp>
|
| constexpr void | lock () noexcept |
| |
| constexpr void | unlock () noexcept |
| |
| constexpr bool | try_lock () noexcept |
| |
No-op mutex used as basic_logger's default Mutex so single-threaded usage pays zero synchronization cost.
◆ lock()
| constexpr void microfmt::log::detail::null_mutex::lock |
( |
| ) |
|
|
inlineconstexprnoexcept |
◆ try_lock()
| constexpr bool microfmt::log::detail::null_mutex::try_lock |
( |
| ) |
|
|
inlineconstexprnoexcept |
◆ unlock()
| constexpr void microfmt::log::detail::null_mutex::unlock |
( |
| ) |
|
|
inlineconstexprnoexcept |
The documentation for this struct was generated from the following file: