TEC
A lightweight C++ library enabling safe, efficient execution in multithreaded and concurrent systems.
Loading...
Searching...
No Matches
tec::details::trace_mutex Struct Reference

Provides a global mutex for synchronizing trace output. More...

#include <tec_trace.hpp>

Static Public Member Functions

static std::mutex & mtx ()
 Retrieves the global trace mutex.
 

Detailed Description

Provides a global mutex for synchronizing trace output.

Manages a static mutex to ensure thread-safe tracing operations.

Member Function Documentation

◆ mtx()

static std::mutex & tec::details::trace_mutex::mtx ( )
inlinestatic

Retrieves the global trace mutex.

Returns a reference to a static mutex used for synchronizing trace output.

Returns
std::mutex& The global trace mutex.

The documentation for this struct was generated from the following file: