X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d084d9ae9f7bcd7f7d1926e7eeae921dbad49273..80270bc96f3fd1d1f14b3ef539b73ad2eb0017de:/projects/traffcounter/lock.h?ds=sidebyside diff --git a/projects/traffcounter/lock.h b/projects/traffcounter/lock.h deleted file mode 100644 index 4a89c297..00000000 --- a/projects/traffcounter/lock.h +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef __SCOPED_LOCK_H__ -#define __SCOPED_LOCK_H__ - -#include - -class SCOPED_LOCK -{ -public: - SCOPED_LOCK(pthread_mutex_t & mtx); - ~SCOPED_LOCK(); -private: - pthread_mutex_t & mutex; - - SCOPED_LOCK(const SCOPED_LOCK & lock) : mutex(lock.mutex) {}; -}; - -#endif