Entering a monitor

To enter a monitor, a monitor member function must create a TMonitorEntry object, passing to the constructor a pointer to the monitor's private TMonitorLock member:

      // enter the monitor - fMonitorLock is a private member of type TMonitorLock
      TMonitorEntry monitorEntry(&fMonitorLock);

[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