Newton Dynamics  4.00
dThread Class Referenceabstract
Inheritance diagram for dThread:
dSemaphore dAtomic< bool > dThreadPool ndScene ndSceneMixed ndWorldScene< ndSceneMixed > ndWorldMixedScene ndWorldSegregatedScene

Public Member Functions

D_CORE_API void SetName (const char *const name)
 
D_CORE_API void Finish ()
 
D_CORE_API void Signal ()
 
virtual void ThreadFunction ()=0
 
- Public Member Functions inherited from dSemaphore
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.
 
- Public Member Functions inherited from dAtomic< bool >
 dAtomic (bool val)
 

Protected Member Functions

virtual void Release ()
 

Protected Attributes

char m_name [32]