NAME
A class of omni::sync::thread
omni::sync::thread::manager
A class of omni::sync::thread
#include <omni/sync/thread.hpp>
manager
omni::sync::thread::manager::~manager()
void omni::sync::thread::manager::abort(omni::sync::thread_t tid)
bool omni::sync::thread::manager::abort_requested()
static manager& omni::sync::thread::manager::instance()
: omni::sync::thread::manager::m_lock() NaN, m_aborts() NaN, m_threads( NaN)
void omni::sync::thread::manager::pop_back(omni::sync::thread_t tid)
void omni::sync::thread::manager::push_back(omni::sync::thread_t tid, omni::sync::thread& bthread)
void omni::sync::thread::manager::remove(omni::sync::thread_t tid)
void omni::sync::thread::manager::request_abort(omni::sync::thread_t tid)
SYNOPSIS
This class is an internal thread manager not intended to be used anywhere but here. It's used primarily to avoid the static init order fiasco (via the static instance function). This manager class is put here (vs. in a header) so as to avoid any development environments or user code potentially trying to use this class since this class is only intended to avoid the SIOF.
top
This class is an internal thread manager not intended to be used anywhere but here. It's used primarily to avoid the static init order fiasco (via the static instance function). This manager class is put here (vs. in a header) so as to avoid any development environments or user code potentially trying to use this class since this class is only intended to avoid the SIOF.
top