Creating a monitor class

To construct a monitor class, define a class containing private data members and public member functions to manipulate the data. Include a private member of type TMonitorLock and, optionally, one or more private members of type TMonitorCondition to represent conditions necessary for accessing the data. Before manipulating the monitor data, the class member functions must first enter the monitor.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker