From 469bbcf0701e1eb8a6670c23145b0da87357e178 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sun, 25 Mar 2012 20:00:08 +0000 Subject: Code is all reorganized. We're about ready to release. I should write up a little explenation of the arrangement. --- src/mutexlocker.cpp | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/mutexlocker.cpp (limited to 'src/mutexlocker.cpp') diff --git a/src/mutexlocker.cpp b/src/mutexlocker.cpp deleted file mode 100644 index 90b730e..0000000 --- a/src/mutexlocker.cpp +++ /dev/null @@ -1,24 +0,0 @@ -#include "bu/mutexlocker.h" -#include "bu/mutex.h" - -Bu::MutexLocker::MutexLocker( Bu::Mutex &mu ) : - mu( mu ) -{ - mu.lock(); -} - -Bu::MutexLocker::~MutexLocker() -{ - mu.unlock(); -} - -void Bu::MutexLocker::unlock() -{ - mu.unlock(); -} - -void Bu::MutexLocker::relock() -{ - mu.lock(); -} - -- cgit v1.2.3