summaryrefslogtreecommitdiff
path: root/core/os/mutex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/os/mutex.cpp')
-rw-r--r--core/os/mutex.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/core/os/mutex.cpp b/core/os/mutex.cpp
index acdcb492d9..cdc18effdd 100644
--- a/core/os/mutex.cpp
+++ b/core/os/mutex.cpp
@@ -30,24 +30,19 @@
#include "error_macros.h"
#include <stddef.h>
-
-
-Mutex* (*Mutex::create_func)(bool)=0;
+Mutex *(*Mutex::create_func)(bool) = 0;
Mutex *Mutex::create(bool p_recursive) {
- ERR_FAIL_COND_V( !create_func, 0 );
+ ERR_FAIL_COND_V(!create_func, 0);
return create_func(p_recursive);
}
-
Mutex::~Mutex() {
-
-
}
-Mutex *_global_mutex=NULL;
+Mutex *_global_mutex = NULL;
void _global_lock() {
@@ -59,4 +54,3 @@ void _global_unlock() {
if (_global_mutex)
_global_mutex->unlock();
}
-