mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Last, maximum wait time is 32 milliseconds.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user