WPILibC++ 2023.4.3
|
A spinlock mutex. More...
#include <wpi/spinlock.h>
Public Member Functions | |
spinlock () noexcept | |
LLVM_ATTRIBUTE_ALWAYS_INLINE bool | try_lock () |
LLVM_ATTRIBUTE_ALWAYS_INLINE void | lock () |
LLVM_ATTRIBUTE_ALWAYS_INLINE void | unlock () |
A spinlock mutex.
Wraps std::atomic_flag in a std::mutex compatible way.
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |