Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

PReadWaitAndSignal::PReadWaitAndSignal ( const PReadWriteMutex rw,
BOOL  start = TRUE 
)

Create the PReadWaitAndSignal wait instance. This will wait on the specified PReadWriteMutex using the StartRead()# function before returning.

Parameters:
rw  PReadWriteMutex descendent to wait/signal.
start  Start read operation on PReadWriteMutex before returning.

Definition at line 2549 of file osutils.cxx.

References PReadWriteMutex::StartRead().

  : mutex((PReadWriteMutex &)rw)
{
  if (start)
    mutex.StartRead();
}


Generated by  Doxygen 1.6.0   Back to index