microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Public Member Functions | List of all members
microfmt::log::detail::null_mutex Struct Reference

No-op mutex used as basic_logger's default Mutex so single-threaded usage pays zero synchronization cost. More...

#include <sync.hpp>

Public Member Functions

constexpr void lock () noexcept
 
constexpr void unlock () noexcept
 
constexpr bool try_lock () noexcept
 

Detailed Description

No-op mutex used as basic_logger's default Mutex so single-threaded usage pays zero synchronization cost.

Member Function Documentation

◆ 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: