WPILibC++ 2023.4.3
|
Non-template owner base class for common owner code. More...
#include <wpi/SafeThread.h>
Public Member Functions | |
void | Stop () |
void | Join () |
SafeThreadOwnerBase () noexcept=default | |
SafeThreadOwnerBase (const SafeThreadOwnerBase &)=delete | |
SafeThreadOwnerBase & | operator= (const SafeThreadOwnerBase &)=delete |
SafeThreadOwnerBase (SafeThreadOwnerBase &&other) noexcept | |
SafeThreadOwnerBase & | operator= (SafeThreadOwnerBase &&other) noexcept |
~SafeThreadOwnerBase () | |
operator bool () const | |
std::thread::native_handle_type | GetNativeThreadHandle () |
void | SetJoinAtExit (bool joinAtExit) |
Protected Member Functions | |
void | Start (std::shared_ptr< SafeThreadBase > thr) |
std::shared_ptr< SafeThreadBase > | GetThreadSharedPtr () const |
Friends | |
void | swap (SafeThreadOwnerBase &lhs, SafeThreadOwnerBase &rhs) noexcept |
Non-template owner base class for common owner code.
|
defaultnoexcept |
|
delete |
|
inlinenoexcept |
wpi::detail::SafeThreadOwnerBase::~SafeThreadOwnerBase | ( | ) |
std::thread::native_handle_type wpi::detail::SafeThreadOwnerBase::GetNativeThreadHandle | ( | ) |
|
protected |
void wpi::detail::SafeThreadOwnerBase::Join | ( | ) |
|
explicit |
|
delete |
|
inlinenoexcept |
|
inline |
|
protected |
void wpi::detail::SafeThreadOwnerBase::Stop | ( | ) |
|
friend |