From 32fdfd8a2d800aa750786671573be51bdecea60d Mon Sep 17 00:00:00 2001 From: Derek Parker Date: Fri, 21 Nov 2014 17:02:43 -0600 Subject: [PATCH] lower timeout wait --- proctl/proctl_linux_amd64.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proctl/proctl_linux_amd64.go b/proctl/proctl_linux_amd64.go index e3063a2f..7f057e3f 100644 --- a/proctl/proctl_linux_amd64.go +++ b/proctl/proctl_linux_amd64.go @@ -568,7 +568,7 @@ func timeoutWait(thread *ThreadContext, options int) (int, *syscall.WaitStatus, select { case s := <-statchan: return s.pid, s.status, nil - case <-time.After(2 * time.Second): + case <-time.After(10 * time.Millisecond): if err := syscall.Tgkill(thread.Process.Pid, pid, syscall.SIGSTOP); err != nil { return -1, nil, err }