Merge pull request #45315 from RandomShaper/modernize_thread

Modernize Thread
This commit is contained in:
Rémi Verschelde
2021-01-31 15:24:56 +01:00
committed by GitHub
87 changed files with 385 additions and 1056 deletions

View File

@@ -53,7 +53,7 @@ class PhysicsServer2DWrapMT : public PhysicsServer2D {
Thread::ID server_thread;
Thread::ID main_thread;
volatile bool exit;
Thread *thread;
Thread thread;
volatile bool step_thread_up;
bool create_thread;