class Enlighten DefaultThreadGroup

This is the documentation for Enlighten.

class Enlighten DefaultThreadGroup

class Enlighten::DefaultThreadGroup

    └>Enlighten::IThreadGroup
        └>Geo::IGeoReleasable

Default implementation of IThreadGroup which executes tasks serially on the calling thread (the worker thread).

Functions

Name

Description

Name

Description

GetNumThreads()

The number of threads in the thread group.

GetNumThreads()

The number of threads in the thread group.

Init()

Init() and Shutdown() will be called on the thread which calls Run() (ie the update manager worker thread)

Init()

Init() and Shutdown() will be called on the thread which calls Run() (ie the update manager worker thread)

Release()

This function will be called when MultithreadCpuWorker is destroyed.

Release()

This function will be called when MultithreadCpuWorker is destroyed.

Release()

Free this object that was created within the Enlighten libraries.

Run(TaskProcessor *, const char *)

Run tasks using threads in the thread group.

Run(TaskProcessor *, const char *)

Run tasks using threads in the thread group.

Shutdown()

One-time shut down function.

Shutdown()

One-time shut down function.



virtual Geo::s32 Enlighten::DefaultThreadGroup::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::DefaultThreadGroup::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



virtual void Enlighten::IThreadGroup::Init


public: void Init()


Init() and Shutdown() will be called on the thread which calls Run() (ie the update manager worker thread)

One-time initialisation function



virtual void Enlighten::DefaultThreadGroup::Release