TSDuck v3.40-4033
MPEG Transport Stream Toolkit
|
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. | |
Define the appropriate mutex class for a given level of thread-safety.
THS | Thread-safety level. |
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.