Loading [MathJax]/extensions/tex2jax.js
ivutils
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
LockGuard< Lock > Class Template Reference

Locks a Lock on LockGuard construction and unlocks on LockGuard destruction. More...

#include <omp_pointers.h>

Detailed Description

template<typename Lock>
class LockGuard< Lock >

Locks a Lock on LockGuard construction and unlocks on LockGuard destruction.

Basicly this class keeps lock locked while it exists. Usualy we create it on stack and it exists till the end of a block.


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