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

sc::ThreadLockHolder Class Reference

Acquire a lock on creation and release it on destruction. More...

#include <thread.h>

Collaboration diagram for sc::ThreadLockHolder:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ThreadLockHolder (const Ref< ThreadLock > &l)

Detailed Description

Acquire a lock on creation and release it on destruction.

This should be used to lock and unlock ThreadLock objects to provide exception safety.


The documentation for this class was generated from the following file:
Generated at Sat Dec 18 15:15:28 2004 for MPQC 2.2.3 using the documentation package Doxygen 1.3.7-20040617.