This is the documentation for Enlighten.
class Enlighten AsyncTaskThreadGroup
class Enlighten::AsyncTaskThreadGroup
└>Enlighten::IThreadGroup
└>Geo::IGeoReleasable
A thread group which executes Enlighten tasks by calling the AsyncTaskCallback a given number of times, and uses GeoEvent signalling to wait until all threads have completed execution.
Functions
Name | Description |
|---|---|
AsyncTaskThreadGroup constructor. | |
The number of threads in the thread group. | |
The number of threads in the thread group. | |
Init() and Shutdown() will be called on the thread which calls Run() (ie the update manager worker thread) | |
Init() and Shutdown() will be called on the thread which calls Run() (ie the update manager worker thread) | |
This function will be called when MultithreadCpuWorker is destroyed. | |
This function will be called when MultithreadCpuWorker is destroyed. | |
Free this object that was created within the Enlighten libraries. | |
Run tasks using threads in the thread group. | |
Run tasks using threads in the thread group. | |
One-time shut down function. | |
One-time shut down function. |
Enlighten::AsyncTaskThreadGroup::AsyncTaskThreadGroup
public: AsyncTaskThreadGroup
(
AsyncTaskCallback callback,
Geo::s32 numThreads
)
AsyncTaskThreadGroup constructor.
virtual Geo::s32 Enlighten::AsyncTaskThreadGroup::GetNumThreads
public: virtual Geo::s32 GetNumThreads()
The number of threads in the thread group.
virtual Geo::s32 Enlighten::IThreadGroup::GetNumThreads
public: Geo::s32 GetNumThreads()
The number of threads in the thread group.
virtual void Enlighten::AsyncTaskThreadGroup::Init
public: virtual void Init()
Init() and Shutdown() will be called on the thread which calls Run() (ie the update manager worker thread)
One-time initialisation function