cwidget::threads::mutex::lock Class Reference

Represents a lock on a mutex. More...

#include <threads.h>

List of all members.

Public Member Functions

 lock (mutex &_parent)
void acquire ()
 Lock the associated mutex.
void release ()
 Unlock the associated mutex.
bool get_locked () const

Friends

class condition


Detailed Description

Represents a lock on a mutex.

Can be released and re-asserted as desired; when the lock goes out of scope, it will automatically be released if necessary.


The documentation for this class was generated from the following file:
Generated on Mon Feb 16 01:16:31 2009 for cwidget by  doxygen 1.4.6