Skip to content
Snippets Groups Projects
Commit b93f2818 authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

added a usleep when waiting inside CHECK_TIMEOUT

parent 8c334bea
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,7 @@ typedef boost::mpl::list<int8_t,uint8_t,
bool timeout_reached = (std::chrono::steady_clock::now()-t0) > std::chrono::milliseconds(maxMilliseconds); \
BOOST_CHECK( !timeout_reached ); \
if(timeout_reached) break; \
usleep(1000); \
} \
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment