PIThread::stopAndWait

This commit is contained in:
2022-11-09 17:02:28 +03:00
parent d3dd3fb32b
commit db5c4dcf3f
2 changed files with 10 additions and 0 deletions

View File

@@ -594,6 +594,12 @@ PIThread::~PIThread() {
}
void PIThread::stopAndWait(int timeout_ms) {
stop();
waitForFinish(timeout_ms);
}
#ifdef WINDOWS
NTAPI void winThreadAPC(ULONG_PTR) {
//piCout << "APC";