]> git.stg.codes - stg.git/blobdiff - projects/traffcounter/lock.h
Removed obsolete stuff.
[stg.git] / projects / traffcounter / lock.h
diff --git a/projects/traffcounter/lock.h b/projects/traffcounter/lock.h
deleted file mode 100644 (file)
index 4a89c29..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#ifndef __SCOPED_LOCK_H__
-#define __SCOPED_LOCK_H__
-
-#include <pthread.h>
-
-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