summaryrefslogtreecommitdiff
path: root/servers/physics_2d/physics_2d_server_wrap_mt.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-03-05 16:33:45 +0100
committerGitHub <noreply@github.com>2020-03-05 16:33:45 +0100
commit42595085a5a22f3b5399844d06e89631c42e8981 (patch)
treeda1c7092d1b0960891b4634358b1150f679fa805 /servers/physics_2d/physics_2d_server_wrap_mt.h
parentbd553d072b65fe5359ab76e64566ff316d35c62e (diff)
parent9a3a2b03b8b718409eb26252d742d48091756ef7 (diff)
Merge pull request #36752 from RandomShaper/rework_semaphore
Drop old semaphore implementation
Diffstat (limited to 'servers/physics_2d/physics_2d_server_wrap_mt.h')
-rw-r--r--servers/physics_2d/physics_2d_server_wrap_mt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_2d/physics_2d_server_wrap_mt.h b/servers/physics_2d/physics_2d_server_wrap_mt.h
index 0648b8651f..4d5e317c8c 100644
--- a/servers/physics_2d/physics_2d_server_wrap_mt.h
+++ b/servers/physics_2d/physics_2d_server_wrap_mt.h
@@ -58,7 +58,7 @@ class Physics2DServerWrapMT : public Physics2DServer {
volatile bool step_thread_up;
bool create_thread;
- SemaphoreOld *step_sem;
+ Semaphore step_sem;
int step_pending;
void thread_step(real_t p_delta);
void thread_flush();