From 95d274f2490bc6cc5faf8966664e26270d1d4652 Mon Sep 17 00:00:00 2001 From: paulbeach Date: Thu, 22 Mar 2012 13:09:04 +0000 Subject: [PATCH] Allow compile on Darwin --- src/common/classes/semaphore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/classes/semaphore.h b/src/common/classes/semaphore.h index d09337ee11..53a96c8b47 100644 --- a/src/common/classes/semaphore.h +++ b/src/common/classes/semaphore.h @@ -115,7 +115,7 @@ public: void enter() { - dispatch_semaphore_wait(semaphore); + dispatch_semaphore_wait(semaphore, DISPATCH_TIME_FOREVER); } void release(SLONG count = 1)