From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/classNLMISC_1_1IThread.html | 418 +++++++++++++++++++++++++++ 1 file changed, 418 insertions(+) create mode 100644 docs/doxygen/nel/classNLMISC_1_1IThread.html (limited to 'docs/doxygen/nel/classNLMISC_1_1IThread.html') diff --git a/docs/doxygen/nel/classNLMISC_1_1IThread.html b/docs/doxygen/nel/classNLMISC_1_1IThread.html new file mode 100644 index 00000000..2b1f0ea8 --- /dev/null +++ b/docs/doxygen/nel/classNLMISC_1_1IThread.html @@ -0,0 +1,418 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
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 Reference

Thread base interface, must be implemented for all OS. +More... +

+#include <thread.h> +

+List of all members. + + + + + + + + + + + + + + + + + + +

Public Methods

virtual ~IThread ()
virtual void start ()=0
virtual void terminate ()=0
virtual void wait ()=0
virtual IRunnablegetRunnable ()=0
 Return a pointer to the runnable object. More...

virtual bool setCPUMask (uint64 cpuMask)=0
 Set the CPU mask of this thread. More...

virtual uint64 getCPUMask ()=0
 Get the CPU mask of this thread. More...

virtual std::string getUserName ()=0
 Get the thread user name. More...


Static Public Methods

IThread * create (IRunnable *runnable)
 Create a new thread. More...

IThread * getCurrentThread ()
 Return a pointer on the current thread. More...

+


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]
+
+ + + + + +
+   + + +

+ +

+Definition at line 98 of file thread.h.

+


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]
+
+ + + + + +
+   + + +

+Return a pointer to the runnable object. +

+ +

+Referenced by NLNET::CBufServer::~CBufServer.

+

+ + + + +
+ + + + + + + + + +
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]
+
+ + + + + +
+   + + +

+ +

+Referenced by NLNET::CBufClient::connect, NLMISC::CWindowDisplayer::create, and NLNET::CBufServer::init.

+

+ + + + +
+ + + + + + + + + +
virtual void NLMISC::IThread::terminate   [pure virtual]
+
+ + + + + +
+   + + +

+ +

+Referenced by NLAIAGENT::CAgentManagerTimer::releaseClass.

+

+ + + + +
+ + + + + + + + + +
virtual void NLMISC::IThread::wait   [pure virtual]
+
+ + + + + +
+   + + +

+ +

+Referenced by NLNET::CBufClient::~CBufClient, NLNET::CBufServer::~CBufServer, and NLMISC::CWindowDisplayer::~CWindowDisplayer.

+


The documentation for this class was generated from the following file: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1