diff options
Diffstat (limited to 'tools/section_lock.h')
-rw-r--r-- | tools/section_lock.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/tools/section_lock.h b/tools/section_lock.h deleted file mode 100644 index a054005d..00000000 --- a/tools/section_lock.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * section_lock.h: - * - * See the main source file 'xineliboutput.c' for copyright information and - * how to reach the author. - * - * $Id: section_lock.h,v 1.1 2010-03-15 12:07:44 phintuka Exp $ - * - */ - -#ifndef __SECTION_LOCK_H -#define __SECTION_LOCK_H - -#include <vdr/thread.h> - -class cSectionLock { - private: - cMutex& mutex; - public: - cSectionLock(cMutex& Mutex) : mutex(Mutex) { mutex.Lock(); }; - ~cSectionLock() { mutex.Unlock(); }; -}; - -#endif // __SECTION_LOCK_H |