From bca706a96b7ccf7537c76a217a1f7dc2041b83a3 Mon Sep 17 00:00:00 2001 From: baldurk Date: Tue, 29 Jan 2019 10:45:26 +0000 Subject: [PATCH] Increase maximum wait time for program to start to 1 second. Refs #1243 --- renderdoc/os/posix/linux/linux_process.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/renderdoc/os/posix/linux/linux_process.cpp b/renderdoc/os/posix/linux/linux_process.cpp index 1d5dbd878..e13854bd4 100644 --- a/renderdoc/os/posix/linux/linux_process.cpp +++ b/renderdoc/os/posix/linux/linux_process.cpp @@ -28,8 +28,10 @@ extern char **environ; +// we wait 1ns, then 2ns, then 4ns, etc so our total is 0xfff etc +// 0xfffff == ~1s #define INITIAL_WAIT_TIME 1 -#define MAX_WAIT_TIME 128000 +#define MAX_WAIT_TIME 0xfffff char **GetCurrentEnvironment() {