pithread, pitimer stop, stopAndWait
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user