|
MorphoGraphX
2.0-1-227
|
This is a class for guard objects using OpenMP It is adapted from the book "Pattern-Oriented Software Architecture". More...
#include <OMPGuard.hpp>
Public Member Functions | |
| OMPGuard (omp_lock_t &lock) | |
| Acquire the lock and store a pointer to it. More... | |
| ~OMPGuard () | |
| Destruct guard object. More... | |
This is a class for guard objects using OpenMP It is adapted from the book "Pattern-Oriented Software Architecture".
Taken from http://www.thinkingparallel.com - Michael Suess
Definition at line 30 of file OMPGuard.hpp.
| mgx::OMPGuard::OMPGuard | ( | omp_lock_t & | lock | ) |
Acquire the lock and store a pointer to it.
| mgx::OMPGuard::~OMPGuard | ( | ) |
Destruct guard object.
1.8.17