version 2.33.0
piMinSleep() method
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user