|
|
D_CORE_API void | SetName (const char *const name) |
| |
|
D_CORE_API void | Finish () |
| |
|
D_CORE_API void | Signal () |
| |
|
virtual void | ThreadFunction ()=0 |
| |
|
D_CORE_API | dSemaphore () |
| | Create and initialize counter to zero.
|
| |
|
D_CORE_API | ~dSemaphore () |
| | Destroy semaphore.
|
| |
|
D_CORE_API dInt32 | 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.
|
| |
|
| dAtomic (bool val) |
| |