OpenDaVINCI  4.15.3
wrapper/Mutex.h
Go to the documentation of this file.
1 
20 #ifndef OPENDAVINCI_CORE_WRAPPER_MUTEX_H_
21 #define OPENDAVINCI_CORE_WRAPPER_MUTEX_H_
22 
23 namespace odcore {
24  namespace wrapper {
25 
32  class Mutex {
33  public:
34  virtual ~Mutex();
35 
39  virtual void lock() = 0;
40 
46  virtual bool tryLock() = 0;
47 
51  virtual void unlock() = 0;
52  };
53 
54  }
55 } // odcore::wrapper
56 
57 #endif /*OPENDAVINCI_CORE_WRAPPER_MUTEX_H_*/
virtual void lock()
Definition: base/Mutex.cpp:37
Definition: base/Mutex.h:49
virtual void unlock()
Definition: base/Mutex.cpp:45
virtual bool tryLock()
Definition: base/Mutex.cpp:41
virtual ~Mutex()
Definition: base/Mutex.cpp:31