ivutils
|
Locks a Lock on LockGuard construction and unlocks on LockGuard destruction. More...
#include <omp_pointers.h>
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.