WPILibC++  2019.3.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
wpi::spinlock Class Reference

A spinlock mutex. More...

#include <spinlock.h>

Public Member Functions

LLVM_ATTRIBUTE_ALWAYS_INLINE bool try_lock ()
 
LLVM_ATTRIBUTE_ALWAYS_INLINE void lock ()
 
LLVM_ATTRIBUTE_ALWAYS_INLINE void unlock ()
 

Detailed Description

A spinlock mutex.

Wraps std::atomic_flag in a std::mutex compatible way.


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