aboutsummaryrefslogtreecommitdiff
path: root/core/os/thread_safe.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/os/thread_safe.h')
-rw-r--r--core/os/thread_safe.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/os/thread_safe.h b/core/os/thread_safe.h
index 793dd8854..1c82cbe70 100644
--- a/core/os/thread_safe.h
+++ b/core/os/thread_safe.h
@@ -42,7 +42,7 @@ public:
ThreadSafe();
~ThreadSafe();
-
+
};
@@ -51,11 +51,11 @@ class ThreadSafeMethod {
const ThreadSafe *_ts;
public:
ThreadSafeMethod(const ThreadSafe *p_ts) {
-
+
_ts=p_ts;
_ts->lock();
}
-
+
~ThreadSafeMethod() { _ts->unlock(); }
};