WPILibC++ 2023.4.3-108-ge5452e3
wpi::SafeThread Class Reference

#include <wpi/SafeThread.h>

Inheritance diagram for wpi::SafeThread:
wpi::SafeThreadBase wpi::CallbackThread< Derived, TUserInfo, TListenerData, TNotifierData > wpi::detail::WorkerThreadThread< R, T > wpi::java::JCallbackThread< T >

Public Member Functions

void Stop () override
 
- Public Member Functions inherited from wpi::SafeThreadBase
virtual ~SafeThreadBase ()=default
 
virtual void Main ()=0
 
virtual void Stop ()=0
 

Public Attributes

wpi::condition_variable m_cond
 
- Public Attributes inherited from wpi::SafeThreadBase
wpi::mutex m_mutex
 
std::atomic_bool m_active {true}
 
std::thread::id m_threadId
 

Member Function Documentation

◆ Stop()

void wpi::SafeThread::Stop ( )
overridevirtual

Implements wpi::SafeThreadBase.

Member Data Documentation

◆ m_cond

wpi::condition_variable wpi::SafeThread::m_cond

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