pithread, pitimer stop, stopAndWait

This commit is contained in:
Бычков Андрей
2022-11-09 17:17:21 +03:00
parent f9c1ef5ba4
commit d9eac06749
8 changed files with 25 additions and 20 deletions

View File

@@ -620,10 +620,9 @@ void PIThread::interrupt() {
}
void PIThread::stop(bool wait) {
void PIThread::stop() {
//PICout(PICoutManipulators::DefaultControls) << "thread" << this << "stop ..." << running_ << wait;
terminating = true;
if (wait) waitForFinish();
}