#include <thread.h>
Inheritance diagram for NLMISC::IRunnable:
#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 (); *
Nevrax France
Definition at line 65 of file thread.h.
Public Member Functions | |
virtual void | getName (std::string &result) const |
virtual void | run ()=0 |
virtual | ~IRunnable () |
|
Definition at line 70 of file thread.h.
00071 { 00072 } |
|
Reimplemented in NL3D::CAsyncFileManager3D::CMeshLoad, NL3D::CAsyncFileManager3D::CIGLoad, NL3D::CAsyncFileManager3D::CIGLoadUser, NL3D::CAsyncFileManager3D::CTextureLoad, NL3D::CZoneLoadingTask, NLPACS::CGlobalRetriever::CLrLoader, NLMISC::CAsyncFileManager::CFileLoad, NLMISC::CAsyncFileManager::CMultipleFileLoad, and NLMISC::CAsyncFileManager::CSignal. Definition at line 74 of file thread.h. Referenced by NLMISC::CTaskManager::run().
00075 {
00076 result = "NoName";
00077 }
|
|