Teuchos - Trilinos Tools Package Version of the Day
Public Member Functions
Teuchos::ThreadLock Class Reference

Basic portable thread lock primative class. More...

#include <Teuchos_SharedAccessPolicy.hpp>

List of all members.

Public Member Functions

 ThreadLock ()
 
 ~ThreadLock ()
 
bool try_lock ()
 
void lock ()
 
void unlock ()
 

Detailed Description

Basic portable thread lock primative class.

This is a heavy-weight appraoch to lock a thread.

This class may or may not be exposed in the Teuchos namespace. It might just be exposed as a typedef in SharedAccessPolicy.

Definition at line 67 of file Teuchos_SharedAccessPolicy.hpp.


Constructor & Destructor Documentation

Teuchos::ThreadLock::ThreadLock ( )

Teuchos::ThreadLock::~ThreadLock ( )


Member Function Documentation

bool Teuchos::ThreadLock::try_lock ( )

void Teuchos::ThreadLock::lock ( )

void Teuchos::ThreadLock::unlock ( )


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines