HDK
|
#include <UT_Thread.h>
Public Member Functions | |
UT_NullThread () | |
~UT_NullThread () override | |
UT_NullThread (const UT_NullThread &)=delete | |
UT_NullThread & | operator= (const UT_NullThread &)=delete |
bool | startThread (UTthreadFunc func, void *data, int stacksize) override |
void | killThread () override |
int | waitThread (int block) override |
void | waitForState (State) override |
int | suspendThread () override |
int | restartThread () override |
int64 | getMemoryUsage (bool inclusive) const override |
NOTE: This level doesn't own any data apart from itself. More... | |
Public Member Functions inherited from UT_Thread | |
virtual | ~UT_Thread () |
UT_Thread (const UT_Thread &)=delete | |
UT_Thread & | operator= (const UT_Thread &)=delete |
bool | startThread (UTthreadFunc func, void *data) |
virtual void | threadStarted () |
virtual void | threadEnded () |
virtual int | isResourceHog () const |
virtual State | getState () |
virtual SpinMode | getSpinMode () |
virtual void | setSpinMode (SpinMode spin_mode) |
int | isActive () |
Protected Member Functions | |
void | setState (State state) override |
Protected Member Functions inherited from UT_Thread | |
virtual int | isValid () |
void | killIdle () |
UT_Thread (SpinMode spin_mode, bool uses_tbb) | |
Additional Inherited Members | |
Public Types inherited from UT_Thread | |
enum | State { ThreadIdle, ThreadRunning } |
enum | SpinMode { ThreadSingleRun, ThreadLowUsage } |
Static Public Member Functions inherited from UT_Thread | |
static UT_Thread * | allocThread (SpinMode spin_mode, bool uses_tbb=true) |
static int | getNumProcessors () |
static int | activeThreadCount () |
This is only valid in debug builds. More... | |
static void | resetNumProcessors () |
static ut_thread_id_t | getMyThreadId () |
static ut_thread_id_t | getMainThreadId () |
static int | getMainSequentialThreadId () |
static int | isMainThread () |
static bool | isUTThreadCurrent () |
static bool | isThreadingEnabled () |
static bool | setThreadingEnabled (bool will_be_enabled) |
static void | pause (uint cycles) |
static void | yield (bool higher_only=false) |
static int | getMySequentialThreadIndex () |
static void | configureMaxThreads (int maxthreads=0) |
static void | configureThreadStackSize (int stacksize) |
static bool | isMaxThreadsConfigured () |
Returns true if configureMaxThreads() has been called at least once. More... | |
static bool | minimizeThisThreadPriority () |
Static Protected Member Functions inherited from UT_Thread | |
static void * | threadWrapper (void *data) |
Protected Attributes inherited from UT_Thread | |
volatile State | myState |
SpinMode | mySpinMode |
UTthreadFunc | myCallback |
void * | myCBData |
const UT_TaskScope * | myTaskScope |
bool | myUsesTBB |
Definition at line 332 of file UT_Thread.h.
UT_NullThread::UT_NullThread | ( | ) |
|
override |
|
delete |
|
inlineoverridevirtual |
NOTE: This level doesn't own any data apart from itself.
Implements UT_Thread.
Definition at line 350 of file UT_Thread.h.
|
delete |
|
overridevirtual |
Implements UT_Thread.