diff options
Diffstat (limited to 'fastos/src/tests/thread_joinwait_test.cpp')
-rw-r--r-- | fastos/src/tests/thread_joinwait_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fastos/src/tests/thread_joinwait_test.cpp b/fastos/src/tests/thread_joinwait_test.cpp index 05ab1627334..7153a05f836 100644 --- a/fastos/src/tests/thread_joinwait_test.cpp +++ b/fastos/src/tests/thread_joinwait_test.cpp @@ -25,11 +25,11 @@ class Thread_JoinWait_Test : public ThreadTestBase Job jobs[testThreads]; - FastOS_Mutex jobMutex; + std::mutex jobMutex; // The mutex is used to pause the first threads until we have created // the last one. - jobMutex.Lock(); + jobMutex.lock(); for(i=0; i<lastThreadNum; i++) { @@ -68,7 +68,7 @@ class Thread_JoinWait_Test : public ThreadTestBase } } - jobMutex.Unlock(); + jobMutex.unlock(); if((variant & 1) != 0) { |