summaryrefslogtreecommitdiffstats
path: root/fastos/src/tests/thread_mutex_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fastos/src/tests/thread_mutex_test.cpp')
-rw-r--r--fastos/src/tests/thread_mutex_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fastos/src/tests/thread_mutex_test.cpp b/fastos/src/tests/thread_mutex_test.cpp
index d49cf37163d..6d3f8c3c5f0 100644
--- a/fastos/src/tests/thread_mutex_test.cpp
+++ b/fastos/src/tests/thread_mutex_test.cpp
@@ -132,7 +132,7 @@ class Thread_Mutex_Test : public ThreadTestBase
{
bool lockrc;
- FastOS_Thread::Sleep(1000);
+ std::this_thread::sleep_for(1s);
for(int i=0; i<5; i++)
{
@@ -145,7 +145,7 @@ class Thread_Mutex_Test : public ThreadTestBase
}
}
- FastOS_Thread::Sleep(2000);
+ std::this_thread::sleep_for(2s);
lockrc = mtx.try_lock();
Progress(lockrc, "We should get the mutex lock now (%s)",