git-svn-id: svn://db.shs.com.ru/pip@679 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -83,12 +83,14 @@ public:
|
||||
next_overload = false;
|
||||
mutex.unlock();
|
||||
}
|
||||
void stopCalc() {
|
||||
void stopCalc(int wait_delay = 100) {
|
||||
if (isRunning()) {
|
||||
stop();
|
||||
if (!waitForFinish(100)) terminate();
|
||||
mutex.unlock();
|
||||
if (!waitForFinish(wait_delay)) {
|
||||
mutex_l.unlock();
|
||||
mutex.unlock();
|
||||
terminate();
|
||||
}
|
||||
}
|
||||
}
|
||||
Tout getLast() {
|
||||
|
||||
Reference in New Issue
Block a user