|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLMISC::IThread Class ReferenceThread base interface, must be implemented for all OS.
More...
#include <thread.h>
List of all members.
Detailed Description
Thread base interface, must be implemented for all OS.
-
Author:
-
Vianney Lecroart , Nevrax France
-
Date:
-
2000
Definition at line 81 of file thread.h.
Constructor & Destructor Documentation
virtual NLMISC::IThread::~IThread |
( |
|
) |
[inline, virtual] |
|
Member Function Documentation
IThread* NLMISC::IThread::create |
( |
IRunnable * |
runnable |
) |
[static] |
|
|
Create a new thread.
Implemented in the derived class. |
virtual uint64 NLMISC::IThread::getCPUMask |
( |
|
) |
[pure virtual] |
|
|
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. |
IThread* NLMISC::IThread::getCurrentThread |
( |
|
) |
[static] |
|
|
Return a pointer on the current thread.
Implemented in the derived class. Not implemented under Linux. |
virtual IRunnable* NLMISC::IThread::getRunnable |
( |
|
) |
[pure virtual] |
|
virtual std::string NLMISC::IThread::getUserName |
( |
|
) |
[pure virtual] |
|
|
Get the thread user name.
Notimplemented under linux, under windows return the name of the logon user. |
virtual bool NLMISC::IThread::setCPUMask |
( |
uint64 |
cpuMask |
) |
[pure virtual] |
|
|
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. |
virtual void NLMISC::IThread::start |
( |
|
) |
[pure virtual] |
|
virtual void NLMISC::IThread::terminate |
( |
|
) |
[pure virtual] |
|
virtual void NLMISC::IThread::wait |
( |
|
) |
[pure virtual] |
|
The documentation for this class was generated from the following file:
|
|