27 #include <hugin_config.h>
39 Lock() {omp_init_lock(&m_lock);}
40 ~
Lock() {omp_destroy_lock(&m_lock);}
42 void Set() {omp_set_lock(&m_lock);}
43 void Unset() {omp_unset_lock(&m_lock);}
44 bool Test() {
return (omp_test_lock(&m_lock) != 0);}
58 bool Test() {
return false; }
static hugin_omp::Lock lock
ScopedLock & operator=(const ScopedLock &)