API FOR ADVANCED USERS – This is the base class of all thread utility classes. More...
#include <ilserver/ilthread.h>
Public Member Functions | |
virtual | ~IlsMTBase () |
This is the public virtual destructor for this class. | |
virtual IlsThreadObjectName | getName () const |
This member function returns the name of an object. More... | |
API FOR ADVANCED USERS – This is the base class of all thread utility classes.
Library: server
and mvcomp
IlsBarrier
, IlsCond
, IlsRWLock
, IlsSafeMutex
, IlsUnsafeMutex
, IlsThread
.
|
virtual |
This member function returns the name of an object.
The thread utility classes do not supply a name for the objects. If you want to name the objects, you must subclass them and provide this virtual member function.
All the thread utility classes provide an operator<<()
that tries to retrieve the name from the name member function. If this fails, they use the object identifier or a platform-dependent value. In the case of the thread object, the library tries to return the thread identifier that is used in the debugger (where possible) in order to help debugging.