C/C++ API Reference
Loading...
Searching...
No Matches
pw::sync::NoLock Class Reference

Overview

NoLock is a no-op lock that satisfies the C++ named requirements for BasicLockable but performs no synchronization. This can be used for code that is conditionally thread-safe.

Public Member Functions

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

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