From c613ead5fa2361296cf8d9a80d4648492ff4e16f Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 29 Jul 2019 12:59:18 -0300 Subject: Added a spinlock template as well as a thread work pool class. Also, optimized shader compilation to happen on threads. --- platform/osx/semaphore_osx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/osx/semaphore_osx.cpp') diff --git a/platform/osx/semaphore_osx.cpp b/platform/osx/semaphore_osx.cpp index e75f5103cc..e4e5991637 100644 --- a/platform/osx/semaphore_osx.cpp +++ b/platform/osx/semaphore_osx.cpp @@ -86,7 +86,7 @@ int SemaphoreOSX::get() const { return 0; } -Semaphore *SemaphoreOSX::create_semaphore_osx() { +SemaphoreOld *SemaphoreOSX::create_semaphore_osx() { return memnew(SemaphoreOSX); } -- cgit v1.2.3