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

added interruption point to ensure proper termination

parent bcc951f0
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,7 @@ namespace ChimeraTK {
while(true) {
timeout.read();
t += static_cast<uint32_t>(timeout) * std::chrono::milliseconds();
boost::this_thread::interruption_point();
std::this_thread::sleep_until(t);
tick++;
......
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