Teuchos - Trilinos Tools Package
Version of the Day
|
Stack-based object for locking a thread. More...
#include <Teuchos_SharedAccessPolicy.hpp>
Public Member Functions | |
ScopedThreadLock (ThreadLock &lock) | |
~ScopedThreadLock () | |
Stack-based object for locking a thread.
This class is used to lock a function so that no matter how the function is existed the lock will be released.
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 57 of file Teuchos_SharedAccessPolicy.hpp.
|
explicit |
Teuchos::ScopedThreadLock< T >::~ScopedThreadLock | ( | ) |