We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49f4ef8 commit 90d5ceaCopy full SHA for 90d5cea
2 files changed
Port/WorkerThreadStd.cpp
@@ -155,7 +155,7 @@ void WorkerThread::TimerThread()
155
{
156
while (!m_timerExit)
157
158
- std::this_thread::sleep_for(100ms);
+ std::this_thread::sleep_for(std::chrono::milliseconds(100));
159
160
ThreadMsg* threadMsg = new ThreadMsg(MSG_TIMER, 0);
161
main.cpp
@@ -50,15 +50,15 @@ int main()
50
51
// Wait for SelfTestEngine to complete
52
while (!selfTestEngineCompleted)
53
- this_thread::sleep_for(1s);
+ std::this_thread::sleep_for(std::chrono::seconds(1));
54
55
// Cleanup before exit
56
ExitThreads();
57
CB_Term();
58
TMR_Term();
59
ALLOC_Term();
60
61
62
63
return 0;
64
}
0 commit comments