Minor code cleanup

This commit is contained in:
Alex Szpakowski
2014-05-01 14:12:21 -03:00
parent e667485f68
commit e4dc533bb2
26 changed files with 112 additions and 110 deletions
+6
View File
@@ -27,6 +27,7 @@ namespace thread
{
namespace sdl
{
Mutex::Mutex()
{
mutex = SDL_CreateMutex();
@@ -81,6 +82,11 @@ bool Conditional::wait(thread::Mutex *_mutex, int timeout)
} // sdl
/**
* Implementations of the functions declared in src/modules/threads.h.
**/
thread::Mutex *newMutex()
{
return new sdl::Mutex();