summaryrefslogtreecommitdiffstats
path: root/test/sem_test.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-12-18 08:23:51 +0000
committerDavid Robillard <d@drobilla.net>2014-12-18 08:23:51 +0000
commitd9a5e2143fa88e29cd3cf873d3da63798a99dde2 (patch)
treee509c0d1dd6313a384a6d90ed118db3dd164a7d4 /test/sem_test.cpp
parent3c5f16954ef622eb6804aa55769ef23f1054081b (diff)
downloadraul-d9a5e2143fa88e29cd3cf873d3da63798a99dde2.tar.gz
raul-d9a5e2143fa88e29cd3cf873d3da63798a99dde2.tar.bz2
raul-d9a5e2143fa88e29cd3cf873d3da63798a99dde2.zip
Fix thread tests on OSX.
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@5499 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'test/sem_test.cpp')
-rw-r--r--test/sem_test.cpp4
1 files changed, 2 insertions, 2 deletions
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);