提交 32fdfd8a 编写于 作者: D Derek Parker

lower timeout wait

上级 aa4f08e1
......@@ -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
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册