TSDuck v3.40-4033
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::ThreadSafetyMutex< THS > Struct Template Reference

Define the appropriate mutex class for a given level of thread-safety. More...

#include <tsPlatform.h>

Public Types

using type = std::mutex
 Mutex class for a given level of thread-safety.
 

Detailed Description

template<ThreadSafety THS>
struct ts::ThreadSafetyMutex< THS >

Define the appropriate mutex class for a given level of thread-safety.

Template Parameters
THSThread-safety level.

Member Typedef Documentation

◆ type

template<ThreadSafety THS>
using ts::ThreadSafetyMutex< THS >::type = std::mutex

Mutex class for a given level of thread-safety.

The default is std::mutex and a non-thread-safe specialization uses ts::null_mutex.


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