My Project: dgWorldThreadPool Class Reference

My Project

Public Member Functions | List of all members
dgWorldThreadPool Class Reference

`#include <dgWorld.h>`

Inheritance diagram for dgWorldThreadPool:

## Public Member Functions

| dgWorldThreadPool (dgMemoryAllocator *const allocator)
virtual void | OnBeginWorkerThread (dgInt32 threadId)
virtual void | OnEndWorkerThread (dgInt32 threadId)
Public Member Functions inherited from dgThreadHive
| dgThreadHive (dgMemoryAllocator *const allocator)
virtual | ~dgThreadHive ()
void | SetMatertThread (dgThread *const mastertThread)
void | GlobalLock () const
void | GlobalUnlock () const
void | GetIndirectLock (dgThread::dgCriticalSection *const criticalSectionLock) const
void | ReleaseIndirectLock (dgThread::dgCriticalSection *const criticalSectionLock) const
void | ClearTimers ()
dgInt32 | GetThreadCount () const
dgInt32 | GetMaxThreadCount () const
void | SetThreadsCount (dgInt32 count)
void | QueueJob (dgWorkerThreadTaskCallback callback, void *const context0, void *const context1)
void | SynchronizationBarrier ()
void | SetPerfomanceCounter (OnGetPerformanceCountCallback callback)
dgUnsigned32 | GetPerfomanceTicks (dgUnsigned32 threadIndex) const

## Constructor & Destructor Documentation

## § dgWorldThreadPool()

dgWorldThreadPool::dgWorldThreadPool | ( | dgMemoryAllocator *const | allocator | ) |

inline

## Member Function Documentation

## § OnBeginWorkerThread()

void dgWorldThreadPool::OnBeginWorkerThread | ( | dgInt32 | threadId | ) |

virtual

Reimplemented from dgThreadHive.

## § OnEndWorkerThread()

void dgWorldThreadPool::OnEndWorkerThread | ( | dgInt32 | threadId | ) |

virtual

Reimplemented from dgThreadHive.

The documentation for this class was generated from the following files:

- dynamics.mod/NewtonDynamics/source/physics/dgWorld.h
- dynamics.mod/NewtonDynamics/source/physics/dgWorld.cpp