WPILibC++ 2024.3.2
|
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 |