Use process tools for WaitFor test

This commit is contained in:
Alexey Rybalchenko
2019-03-19 16:34:51 +01:00
committed by Dennis Klein
parent 6809d60fad
commit 99ffb732f4
5 changed files with 70 additions and 43 deletions

View File

@@ -189,7 +189,7 @@ try {
bool keepRunning = true;
while (keepRunning) {
if (poll(cinfd, 1, 500)) {
if (poll(cinfd, 1, 100)) {
if (fDeviceShutdownRequested) {
break;
}