HDK
|
#include <UT_Thread.h>
Public Member Functions | |
UT_ThreadSet (int nthreads=-1, int null_thread_if_1_cpu=0) | |
~UT_ThreadSet () | |
UT_ThreadSet (const UT_ThreadSet &)=delete | |
UT_ThreadSet & | operator= (const UT_ThreadSet &)=delete |
void | setFunc (UTthreadFunc func) |
void | setUserData (void *user_data_array, size_t structlen) |
void | setUserData (void *user_data) |
void | reuse (UT_Thread::SpinMode spin_mode) |
void | go () |
int | wait (int block=1) |
int | getNumThreads () const |
UT_Thread * | getThread (int which) |
UT_Thread * | operator[] (int which) |
Protected Attributes | |
int | myThreadCount |
UT_Thread ** | myThreads |
UTthreadFunc | myFunc |
void * | myUserData |
int64 | myUserDataInc |
Definition at line 363 of file UT_Thread.h.
UT_ThreadSet::~UT_ThreadSet | ( | ) |
|
delete |
|
inline |
Definition at line 391 of file UT_Thread.h.
void UT_ThreadSet::go | ( | ) |
|
delete |
Definition at line 393 of file UT_Thread.h.
void UT_ThreadSet::reuse | ( | UT_Thread::SpinMode | spin_mode | ) |
|
inline |
Definition at line 372 of file UT_Thread.h.
Definition at line 376 of file UT_Thread.h.
Definition at line 381 of file UT_Thread.h.
|
protected |
Definition at line 402 of file UT_Thread.h.
|
protected |
Definition at line 400 of file UT_Thread.h.
|
protected |
Definition at line 401 of file UT_Thread.h.
|
protected |
Definition at line 403 of file UT_Thread.h.
|
protected |
Definition at line 404 of file UT_Thread.h.