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

PIntCondMutex & PIntCondMutex::operator-= ( int  dec  ) 

Subtract from condition value. Use the Wait() function to acquire the mutex, modify the value, then release the mutex, possibly releasing the thread in the WaitCondition() function if the condition was met by the operation.

The object reference for consecutive operations in the same statement.

Definition at line 2336 of file osutils.cxx.

References PCondMutex::Signal().

  value -= dec;
  return *this;

Generated by  Doxygen 1.6.0   Back to index