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

sc::ThreadLock Class Reference

The ThreadLock abstract class provides mutex locks to be used in conjunction with ThreadGrp's. More...

#include <thread.h>

Inheritance diagram for sc::ThreadLock:

Inheritance graph
[legend]
Collaboration diagram for sc::ThreadLock:

Collaboration graph
[legend]
List of all members.

Public Methods

 ThreadLock ()
virtual ~ThreadLock ()
virtual void lock ()=0
 Obtain the lock.

virtual void unlock ()=0
 Release the lock.


Detailed Description

The ThreadLock abstract class provides mutex locks to be used in conjunction with ThreadGrp's.

ThreadLock objects should be locked and unlocked with ThreadLockHolder objects to provide exception safety.


The documentation for this class was generated from the following file:
Generated at Wed Apr 28 10:15:39 2004 for MPQC 2.2.2 using the documentation package Doxygen 1.2.14.