Added sleep on input thread to further reduce CPU usage
This commit is contained in:
parent
e238e35bb2
commit
5c6dcaf634
@ -74,6 +74,7 @@ namespace nf {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
std::this_thread::sleep_for(std::chrono::milliseconds(5));
|
||||||
}
|
}
|
||||||
mainThread.join();
|
mainThread.join();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user