ZeusBase-Library
2.0.4
|
#include <IThread.hpp>
Public Member Functions | |
virtual Uint MQUALIFIER | getThreadID () const =0 |
virtual bool MQUALIFIER | isInterrupted () const =0 |
Public Member Functions inherited from zeus::IZUnknown | |
virtual Retval MQUALIFIER | askForInterface (const InterfaceID &rInterfaceID, IZUnknown *&rpIface)=0 |
virtual void MQUALIFIER | addRef () const =0 |
virtual void MQUALIFIER | release () const =0 |
This interface is used internally for thread manager and event classes.
|
pure virtual |
Returns the platorm specific thread ID (handle)
Implemented in zeus::TThread, and zeus::TAbstractMainThread.
|
pure virtual |
Checks if the thread is interrupted. This flag must be asked inside the execute method, to abort the process.
true | : Interrupt flag is set |
false | : Interrupt flag is not set |
Implemented in zeus::TThread, and zeus::TAbstractMainThread.