![]() |
WPILibC++ 2027.0.0-alpha-4
|
A proxy for SafeThread. More...
#include <wpi/util/SafeThread.hpp>
Public Member Functions | |
| SafeThreadProxy (std::shared_ptr< SafeThreadBase > thr) | |
| T & | operator* () const |
| T * | operator-> () const |
| Public Member Functions inherited from wpi::util::detail::SafeThreadProxyBase | |
| SafeThreadProxyBase (std::shared_ptr< SafeThreadBase > thr) | |
| operator bool () const | |
| std::unique_lock< wpi::util::mutex > & | GetLock () |
Additional Inherited Members | |
| Protected Attributes inherited from wpi::util::detail::SafeThreadProxyBase | |
| std::shared_ptr< SafeThreadBase > | m_thread |
| std::unique_lock< wpi::util::mutex > | m_lock |
A proxy for SafeThread.
Also serves as a scoped lock on SafeThread::m_mutex.
|
inlineexplicit |
|
inline |
|
inline |