Home | nevrax.com |
|
NLMISC::IRunnable Class ReferenceThread callback interface. More...
Inheritance diagram for NLMISC::IRunnable:
Detailed DescriptionThread callback interface.When a thread is created, it will call run() in its attached IRunnable interface.
#include "nel/misc/thread.h" class HelloLoopThread : public IRunnable { void run () { while(true) printf("Hello World\n"); } }; IThread *thread = IThread::create (new HelloLoopThread); thread->start (); *
Definition at line 65 of file thread.h. Constructor & Destructor Documentation
Member Function Documentation
The documentation for this class was generated from the following file: |