Last, maximum wait time is 32 milliseconds.

This commit is contained in:
Norbert Nopper
2016-08-24 17:25:39 +02:00
committed by baldurk
parent 3dad918ad1
commit b180aaaf11
+1 -1
View File
@@ -45,7 +45,7 @@ int GetIdentPort(pid_t childPid)
int totalWaitTime = 0;
// try for a little while for the /proc entry to appear
while(totalWaitTime <= MAX_WAIT_TIME)
while(totalWaitTime < MAX_WAIT_TIME)
{
// back-off for each retry
usleep(waitTime);