aboutsummaryrefslogtreecommitdiffstats
path: root/fastos/src/tests/thread_joinwait_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fastos/src/tests/thread_joinwait_test.cpp')
-rw-r--r--fastos/src/tests/thread_joinwait_test.cpp6
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 7153a05f836..05ab1627334 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];
- std::mutex jobMutex;
+ FastOS_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)
{