summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Root.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Root.cpp b/src/Root.cpp
index 39ba1acc5..5c461a9ac 100644
--- a/src/Root.cpp
+++ b/src/Root.cpp
@@ -87,10 +87,8 @@ void cRoot::InputThread(cRoot & a_Params)
while (a_Params.m_InputThreadRunFlag.test_and_set() && std::cin.good())
{
#ifndef _WIN32
- static const std::chrono::microseconds PollPeriod = std::chrono::milliseconds{ 100 };
-
timeval Timeout{ 0, 0 };
- Timeout.tv_usec = static_cast<long>(PollPeriod.count());
+ Timeout.tv_usec = 100 * 1000; // 100 msec
fd_set ReadSet;
FD_ZERO(&ReadSet);