diff options
Diffstat (limited to 'test/sem_test.cpp')
-rw-r--r-- | test/sem_test.cpp | 4 |
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); |