|
enum | { NUM_CORES = -100
} |
|
typedef shared_ptr< class GThread > | Ref |
|
static int | numCores () |
|
static GThreadRef | create (const std::string &name, void(*proc)(void *), void *param=NULL) |
|
template<class Class > |
static void | runConcurrently2D (const Vector2int32 &start, const Vector2int32 &upTo, Class *object, void(Class::*method)(int x, int y), int maxThreads=NUM_CORES) |
| Iterates over a 2D region using multiple threads and blocks until all threads have completed. More...
|
|
template<class Class > |
static void | runConcurrently2D (const Vector2int32 &start, const Vector2int32 &upTo, Class *object, void(Class::*method)(int x, int y, int threadID), int maxThreads=NUM_CORES) |
|
static const SpawnBehavior | USE_CURRENT_THREAD = G3D::USE_CURRENT_THREAD |
|
static const SpawnBehavior | USE_NEW_THREAD = G3D::USE_NEW_THREAD |
|
G3D::_internal::BasicThread::BasicThread |
( |
const std::string & |
name, |
|
|
void(*)(void *) |
proc, |
|
|
void * |
param |
|
) |
| |
|
inline |
void * m_param
Definition: GThread.cpp:31
const std::string & name()
Definition: GThread.h:121
void(* m_wrapperProc)(void *)
Definition: GThread.cpp:29
virtual void G3D::_internal::BasicThread::threadMain |
( |
| ) |
|
|
inlineprotectedvirtual |
Overriden by the thread implementor
Implements G3D::GThread.
void * m_param
Definition: GThread.cpp:31
void(* m_wrapperProc)(void *)
Definition: GThread.cpp:29
void* G3D::_internal::BasicThread::m_param |
|
private |
void(* G3D::_internal::BasicThread::m_wrapperProc)(void *) |
|
private |
The documentation for this class was generated from the following file: