Searched refs:timeout (Results 1 – 5 of 5) sorted by relevance
/build/soong/ui/build/ |
D | signal.go | 49 var timeout <-chan time.Time 84 if timeout != nil { 89 timeout = time.Tick(time.Second * 2) 90 case <-timeout:
|
/build/soong/cmd/run_with_timeout/ |
D | run_with_timeout_test.go | 28 timeout time.Duration 52 timeout: 1 * time.Second, 61 timeout: 1 * time.Millisecond, 70 timeout: 1 * time.Millisecond, 81 …err := runWithTimeout(tt.args.command, tt.args.args, tt.args.timeout, tt.args.onTimeoutCmd, tt.arg…
|
D | run_with_timeout.go | 32 timeout = flag.Duration("timeout", 0, "time after which to kill command (example: 60s)") var 54 err := runWithTimeout(flag.Arg(0), flag.Args()[1:], *timeout, *onTimeoutCmd, 90 func runWithTimeout(command string, args []string, timeout time.Duration, onTimeoutCmdStr string, 115 if timeout > 0 { 116 timeoutCh = time.After(timeout) 142 return fmt.Errorf("timed out after %s", timeout.String())
|
/build/soong/ui/build/paths/ |
D | logs.go | 112 func dial(name string, lookup socketAddrFunc, timeout time.Duration) (net.Conn, error) { 120 Timeout: timeout, 139 func sendLog(logSocket string, lookup socketAddrFunc, timeout time.Duration, entry *LogEntry, done … 142 conn, err := dial(logSocket, lookup, timeout) 148 if timeout != 0 { 149 conn.SetDeadline(time.Now().Add(timeout))
|
/build/make/tools/releasetools/ |
D | common.py | 2984 th.join(timeout=300) # 5 mins
|