From d9a5e2143fa88e29cd3cf873d3da63798a99dde2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 18 Dec 2014 08:23:51 +0000 Subject: Fix thread tests on OSX. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@5499 a436a847-0d15-0410-975c-d299462d15a1 --- test/sem_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/sem_test.cpp') diff --git a/test/sem_test.cpp b/test/sem_test.cpp index 4211ce3..03c3748 100644 --- a/test/sem_test.cpp +++ b/test/sem_test.cpp @@ -26,7 +26,7 @@ using namespace std; using namespace Raul; static void -wait(Semaphore* sem) +wait_for_sem(Semaphore* sem) { while (true) { if (sem->timed_wait(250)) { @@ -54,7 +54,7 @@ main() return 1; } - std::thread waiter(wait, &sem); + std::thread waiter(wait_for_sem, &sem); sleep(1); -- cgit v1.2.1