Server
API Reference Guide
Product Documentation:

Rogue Wave Server
Documentation Home
List of all members | Public Member Functions
IlsMTBase Class Reference

API FOR ADVANCED USERS – This is the base class of all thread utility classes. More...

#include <ilserver/ilthread.h>

Inheritance diagram for IlsMTBase:
IlsBarrier IlsCond IlsRWLock IlsSafeMutex IlsThread IlsUnsafeMutex

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...
 

Detailed Description

API FOR ADVANCED USERS – This is the base class of all thread utility classes.

Library: server
and mvcomp

Note
server and mvcomp
See also
IlsBarrier, IlsCond, IlsRWLock, IlsSafeMutex, IlsUnsafeMutex, IlsThread.

Member Function Documentation

◆ getName()

virtual IlsThreadObjectName IlsMTBase::getName ( ) const
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.