#include <thread.h>
Nevrax France
Definition at line 86 of file thread.h.
Public Member Functions | |
virtual uint64 | getCPUMask ()=0 |
virtual IRunnable * | getRunnable ()=0 |
Return a pointer to the runnable object. | |
virtual std::string | getUserName ()=0 |
virtual bool | setCPUMask (uint64 cpuMask)=0 |
virtual void | start ()=0 |
virtual void | terminate ()=0 |
virtual void | wait ()=0 |
virtual | ~IThread () |
Static Public Member Functions | |
IThread * | create (IRunnable *runnable) |
IThread * | getCurrentThread () |
|
Definition at line 103 of file thread.h.
00103 { } |
|
Create a new thread. Implemented in the derived class. |
|
Get the CPU mask of this thread. Thread must have been started before. The mask should be a subset of the CPU mask returned by IProcess::getCPUMask() thread process. Not implemented under Linux. Referenced by NL3D::CZoneLighter::light(). |
|
Return a pointer on the current thread. Implemented in the derived class. Not implemented under Linux. |
|
Return a pointer to the runnable object.
Referenced by NLNET::CBufServer::~CBufServer(). |
|
Get the thread user name. Notimplemented under linux, under windows return the name of the logon user. |
|
Set the CPU mask of this thread. Thread must have been started before. The mask must be a subset of the CPU mask returned by IProcess::getCPUMask() thread process. Not implemented under Linux. Referenced by NL3D::CZoneLighter::light(). |
|
|
|
|
Referenced by NLNET::CBufClient::~CBufClient(), NLNET::CBufServer::~CBufServer(), and NLMISC::CWindowDisplayer::~CWindowDisplayer(). |