diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-25 04:15:00 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-10-25 04:16:24 +0200 |
commit | e4d69fcaaca33952ed0c807500a4e93bbc0a365b (patch) | |
tree | be0e2a90c32df21e3184b50a249577438ff2d04a /faceapi/lock.h | |
parent | 8769b18f24c7866d6e7c59494acd7f4369dbe18d (diff) |
remove faceapi
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'faceapi/lock.h')
-rw-r--r-- | faceapi/lock.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/faceapi/lock.h b/faceapi/lock.h deleted file mode 100644 index bb095675..00000000 --- a/faceapi/lock.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef SM_API_TESTAPPCONSOLE_LOCK_H -#define SM_API_TESTAPPCONSOLE_LOCK_H - -#include "mutex.h" - -namespace sm -{ - namespace faceapi - { - namespace samplecode - { - // A very simple scoped-lock class for sample code purposes. - // It is recommended that you use the boost threads library. - class Lock - { - public: - Lock(const Mutex &mutex): _mutex(mutex) - { - _mutex.lock(); - } - ~Lock() - { - _mutex.unlock(); - } - private: - // Noncopyable - Lock(const Lock &); - Lock &operator=(const Lock &); - private: - const Mutex &_mutex; - }; - } - } -} -#endif |