#include <UT_Thread.h>
Public Member Functions | |
| UT_ThreadSet (int nthreads=-1, int null_thread_if_1_cpu=0) | |
| ~UT_ThreadSet () | |
| void | setFunc (UTthreadFunc func) |
| void | setUserData (void *user_data_array, size_t structlen) |
| void | setUserData (void *user_data) |
| void | reuse (int 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 211 of file UT_Thread.h.
| UT_ThreadSet::UT_ThreadSet | ( | int | nthreads = -1, |
|
| int | null_thread_if_1_cpu = 0 | |||
| ) |
| UT_ThreadSet::~UT_ThreadSet | ( | ) |
| int UT_ThreadSet::getNumThreads | ( | ) | const [inline] |
Definition at line 236 of file UT_Thread.h.
| UT_Thread* UT_ThreadSet::getThread | ( | int | which | ) |
| void UT_ThreadSet::go | ( | ) |
| UT_Thread* UT_ThreadSet::operator[] | ( | int | which | ) | [inline] |
Definition at line 238 of file UT_Thread.h.
| void UT_ThreadSet::reuse | ( | int | spin_mode | ) |
| void UT_ThreadSet::setFunc | ( | UTthreadFunc | func | ) | [inline] |
Definition at line 217 of file UT_Thread.h.
| void UT_ThreadSet::setUserData | ( | void * | user_data | ) | [inline] |
Definition at line 226 of file UT_Thread.h.
| void UT_ThreadSet::setUserData | ( | void * | user_data_array, | |
| size_t | structlen | |||
| ) | [inline] |
Definition at line 221 of file UT_Thread.h.
| int UT_ThreadSet::wait | ( | int | block = 1 |
) |
UTthreadFunc UT_ThreadSet::myFunc [protected] |
Definition at line 247 of file UT_Thread.h.
int UT_ThreadSet::myThreadCount [protected] |
Definition at line 245 of file UT_Thread.h.
UT_Thread** UT_ThreadSet::myThreads [protected] |
Definition at line 246 of file UT_Thread.h.
void* UT_ThreadSet::myUserData [protected] |
Definition at line 248 of file UT_Thread.h.
int64 UT_ThreadSet::myUserDataInc [protected] |
Definition at line 249 of file UT_Thread.h.
1.5.9