|
|
D_CORE_API | ndThreadPool (const char *const baseName) |
| |
|
ndInt32 | GetThreadCount () const |
| |
|
D_CORE_API void | SetThreadCount (ndInt32 count) |
| |
|
D_CORE_API void | TickOne () |
| |
|
D_CORE_API void | Begin () |
| |
|
D_CORE_API void | End () |
| |
|
template<typename Function > |
| void | ParallelExecute (const Function &ndFunction) |
| |
|
D_CORE_API | ndSyncMutex () |
| | Create and initialize counter to zero.
|
| |
|
D_CORE_API | ~ndSyncMutex () |
| | Destroy mutex.
|
| |
| D_CORE_API void | Sync () |
| | Synchronize with another worker threads. More...
|
| |
|
D_CORE_API void | Tick () |
| | Increment internal variable m_count by one.
|
| |
|
D_CORE_API void | Release () |
| | Decrement internal variable m_count by one and signal the thread to wakeup.
|
| |
|
D_CORE_API | ndThread () |
| | Empty default constructor after creation all threads go to a wait state.
|
| |
| virtual D_CORE_API | ~ndThread () |
| | Empty, does not terminate the thread loop. More...
|
| |
| D_CORE_API void | SetName (const char *const name) |
| | Set thread name. More...
|
| |
|
D_CORE_API void | Signal () |
| | Set the thread, to execute one call to and go back to a wait state
|
| |
| D_CORE_API void | Finish () |
| | Force the thread loop to terminate. More...
|
| |
| virtual void | ThreadFunction ()=0 |
| | Thread function to execute in a perpetual loop until the thread is terminated. More...
|
| |
|
| ndClassAlloc () |
| | Empty default constructor.
|
| |
|
| ~ndClassAlloc () |
| | Empty.
|
| |
|
D_CORE_API | ndSemaphore () |
| | Create and initialize counter to zero.
|
| |
|
D_CORE_API | ~ndSemaphore () |
| | Destroy semaphore.
|
| |
|
D_CORE_API ndInt32 | GetCount () const |
| | Returns counter counter value.
|
| |
| D_CORE_API bool | Wait () |
| | Synchronize with another threads. More...
|
| |
| D_CORE_API void | Signal () |
| | Notify a thread blocked by member function Wait to wake and test m_counter again. More...
|
| |
|
D_CORE_API void | Terminate () |
| | Notify a waiting thread on member function Wait that is time to exit the thread loop.
|
| |
|
| ndAtomic (bool val) |
| |
|
| ndAtomic (const ndAtomic< bool > ©) |
| |
|
bool | operator= (bool value) |
| |