version 2.33.0

piMinSleep() method
This commit is contained in:
2021-11-16 14:43:57 +03:00
parent 48c885e12a
commit a2a205cfd2
12 changed files with 28 additions and 26 deletions

View File

@@ -66,7 +66,7 @@ void PIProcess::exec_() {
startOnce();
//cout << "exec wait" << endl;
while (!is_exec)
piMSleep(PIP_MIN_MSLEEP);
piMinSleep();
//cout << "exec end" << endl;
}
@@ -172,7 +172,7 @@ void PIProcess::startProc(bool detached) {
if (execve(str.data(), a, e) < 0)
piCoutObj << "\"execve" << str << args << "\" error :" << errorString();
} else {
msleep(PIP_MIN_MSLEEP);
piMinSleep;
//cout << "wait" << endl;
if (!detached) {
wait(&exit_code);