- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for findProcess (0.23 sec)
-
doc/next/9-todo.md
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:18:52 UTC 2024 - 6K bytes - Viewed (0) -
src/os/signal/signal_cgo_test.go
if err != nil { t.Fatalf("error reading child pid: %v\n", err) } if n != 8 { t.Fatalf("unexpected short read n = %d\n", n) } pid := binary.LittleEndian.Uint64(b[:]) process, err := os.FindProcess(int(pid)) if err != nil { t.Fatalf("unable to find child process: %v", err) } // Wait for the third child to write a byte indicating that it is // entering the read. b = make([]byte, 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 10:09:15 UTC 2024 - 10.7K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server.go
return } _, err = w.Write(b) if err != nil { w.WriteHeader(http.StatusInternalServerError) } } // notifyExit sends SIGTERM to itself func notifyExit() { p, err := os.FindProcess(os.Getpid()) if err != nil { log.Error(err) } if err := p.Signal(syscall.SIGTERM); err != nil { log.Errorf("failed to send SIGTERM to self: %v", err) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 31.1K bytes - Viewed (1) -
src/os/os_test.go
t.Fatalf("Child process reports parent process id '%v', expected '%v'", childPpid, ourPid) } } func TestKillFindProcess(t *testing.T) { testKillProcess(t, func(p *Process) { p2, err := FindProcess(p.Pid) if err != nil { t.Fatalf("Failed to find test process: %v", err) } err = p2.Kill() if err != nil { t.Fatalf("Failed to kill test process: %v", err) } }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Executable", Func, 8}, {"Exit", Func, 0}, {"Expand", Func, 0}, {"ExpandEnv", Func, 0}, {"File", Type, 0}, {"FileInfo", Type, 0}, {"FileMode", Type, 0}, {"FindProcess", Func, 0}, {"Getegid", Func, 0}, {"Getenv", Func, 0}, {"Geteuid", Func, 0}, {"Getgid", Func, 0}, {"Getgroups", Func, 0}, {"Getpagesize", Func, 0}, {"Getpid", Func, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
src/internal/trace/traceviewer/static/trace_viewer_full.html
return undefined;}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2.5M bytes - Viewed (0)