The RWTMonitor Class
The RWTMonitor class is used to build monitor objects. It is a simple template class that contains a mutex instance, and it is used as a base class for implementing C++ classes whose member functions have thread-safe access to the data or resources encapsulated by that class. See the example in Building Monitors for more information about using this class.