Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

cThreadLock Class Reference

Supports the locking. More...

#include <thread.h>

Inheritance diagram for cThreadLock:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~cThreadLock ()
 Destructor.
virtual void Lock ()
 Set a Lock.
virtual void Unlock ()
 Unlock.
virtual bool TryLock ()
 Is lock possible.

Protected Attributes

pthread_mutex_t m_lock
 mutex lock variable

Detailed Description

Supports the locking.


Member Function Documentation

bool cThreadLock::TryLock  )  [virtual]
 

Is lock possible.

Returns:
true or false


The documentation for this class was generated from the following files:
Generated on Mon Apr 26 14:38:54 2010 for New Simulator by  doxygen 1.4.4