Add a MutexRef class to clean up Mutex handling code

This commit is contained in:
Bart van Strien
2015-07-06 11:58:08 +02:00
parent dd1167d736
commit 7e44034757
10 changed files with 31 additions and 21 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ private:
// Only one thread can access this object at the same time. This mutex will
// make sure of that.
thread::Mutex *mutex;
love::thread::MutexRef mutex;
}; // Pool