IlsMTBase
 
IlsMTBase
Category 
Thread utility class - API FOR ADVANCED USERS
Inheritance Path 
IlsMTBase
Description 
This is the base class of all thread utility classes.
Libraries 
<server> and <mvcomp>
Header File 
#include <ilserver/ilthread.h>
Synopsis 
class IlsMTBase
{
public:
virtual ~IlsMTBase();
virtual IlsThreadObjectName getName() const;
};
Destructor 
virtual ~IlsMTBase();
This is the public virtual destructor for this class.
Member Functions 
[virtual] IlsThreadObjectName getName() const;
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.
See Also 
IlsBarrier, IlsCond, IlsRWLock, IlsSafeMutex, IlsUnsafeMutex, IlsThread

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.