version 2.33.0
piMinSleep() method
This commit is contained in:
@@ -346,7 +346,7 @@ bool PIBaseTransfer::send_process() {
|
||||
if (chk == 0) return finish_send(true);
|
||||
if (chk != prev_chk) rtm.reset();
|
||||
else if (rtm.elapsed_m() < 100) {
|
||||
piMSleep(PIP_MIN_MSLEEP);
|
||||
piMinSleep();
|
||||
continue;
|
||||
}
|
||||
if (is_pause) {
|
||||
@@ -507,7 +507,7 @@ bool PIBaseTransfer::getStartRequest() {
|
||||
return true;
|
||||
}
|
||||
mutex_session.unlock();
|
||||
piMSleep(PIP_MIN_MSLEEP);
|
||||
piMinSleep();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user