LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::MutexLocker Class Reference

#include <ThreadSupport.h>

Collaboration diagram for llvm::MutexLocker:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MutexLocker (Mutex &m)
 ~MutexLocker ()

Detailed Description

MutexLocker - Instances of this class acquire a given Lock when constructed and hold that lock until destruction.

Definition at line 33 of file ThreadSupport.h.


Constructor & Destructor Documentation

llvm::MutexLocker::MutexLocker Mutex m  )  [inline]
 

Definition at line 38 of file ThreadSupport.h.

llvm::MutexLocker::~MutexLocker  )  [inline]
 

Definition at line 39 of file ThreadSupport.h.


The documentation for this class was generated from the following file: