- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 503 for Pid (0.19 sec)
-
src/runtime/runtime_linux_test.go
"syscall" "testing" "time" "unsafe" ) var pid, tid int func init() { // Record pid and tid of init thread for use during test. // The call to LockOSThread is just to exercise it; // we can't test that it does anything. // Instead we're testing that the conditions are good // for how it is used in init (must be on main thread). pid, tid = syscall.Getpid(), syscall.Gettid() LockOSThread()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 20:20:01 UTC 2023 - 1.8K bytes - Viewed (0) -
buildscripts/rewrite-old-new.sh
buildscripts/verify-build.sh \ minio/healing-rewrite-bucket/ \ --disable-multipart --quiet kill ${pid} sleep 3 "${MINIO[@]}" --address ":$start_port" "${WORK_DIR}/xl{1...16}" >"${WORK_DIR}/server1.log" 2>&1 & pid=$! disown $pid "${WORK_DIR}/mc" ready minio/ if ! ps -p ${pid} 1>&2 >/dev/null; then echo "server1 log:" cat "${WORK_DIR}/server1.log" echo "FAILED" purge "$WORK_DIR"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon May 27 19:17:46 UTC 2024 - 3.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_non_crash_signal.txt
func FuzzNonCrash(f *testing.F) { f.Fuzz(func(*testing.T, bool) { pid := syscall.Getpid() if err := syscall.Kill(pid, syscall.SIGTERM); err != nil { panic(err) } // signal may not be received immediately. Wait for it. select{} }) } func FuzzKill(f *testing.F) { f.Fuzz(func(*testing.T, bool) { pid := syscall.Getpid() if err := syscall.Kill(pid, syscall.SIGKILL); err != nil { panic(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 1.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonClientFixture.groovy
final ProcessFixture process DaemonClientFixture(GradleHandle gradleHandle) { this.gradleHandle = gradleHandle Long pid ConcurrentTestUtil.poll { pid = getPidFromOutput(gradleHandle) as Long } this.process = new ProcessFixture(pid) } DaemonClientFixture kill() { process.kill(false) gradleHandle.waitForFailure() return this }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.6K bytes - Viewed (0) -
src/packaging/deb/init.d/fess
--user "$FESS_USER" \ --quiet \ --retry forever/TERM/20 > /dev/null if [ $? -eq 1 ]; then log_progress_msg "$DESC is not running but pid file exists, cleaning up" elif [ $? -eq 3 ]; then PID="`cat $PID_FILE`" log_failure_msg "Failed to stop $DESC (pid $PID)" exit 1 fi rm -f "$PID_FILE" else log_progress_msg "(not running)" fi log_end_msg 0 ;; status)
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Sun Jan 15 06:32:15 UTC 2023 - 5.8K bytes - Viewed (0) -
test/fixedbugs/issue59680.go
// license that can be found in the LICENSE file. package main import ( "sync" "time" ) type B struct { pid int f func() (uint64, error) wg sync.WaitGroup v uint64 } func newB(pid int) *B { return &B{ pid: pid, } } //go:noinline func Sq(i int) uint64 { S++ return uint64(i * i) } type RO func(*B) var ROSL = []RO{ Bad(),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 05 21:04:38 UTC 2023 - 1.3K bytes - Viewed (0) -
src/os/exec.go
// It is unused on other GOOSes. handle uintptr } func newPIDProcess(pid int) *Process { p := &Process{ Pid: pid, mode: modePID, } runtime.SetFinalizer(p, (*Process).Release) return p } func newHandleProcess(pid int, handle uintptr) *Process { p := &Process{ Pid: pid, mode: modeHandle, handle: handle, } p.state.Store(1) // 1 persistent reference
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 12.8K bytes - Viewed (0) -
src/syscall/syscall_linux.go
func PtraceCont(pid int, signal int) (err error) { return ptrace(PTRACE_CONT, pid, 0, uintptr(signal)) } func PtraceSyscall(pid int, signal int) (err error) { return ptrace(PTRACE_SYSCALL, pid, 0, uintptr(signal)) } func PtraceSingleStep(pid int) (err error) { return ptrace(PTRACE_SINGLESTEP, pid, 0, 0) } func PtraceAttach(pid int) (err error) { return ptrace(PTRACE_ATTACH, pid, 0, 0) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 35.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/timeout/JavaProcessStackTracesMonitor.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.2K bytes - Viewed (0) -
pkg/kubelet/cm/pod_container_manager_linux.go
} errlist = []error{} for _, pid := range pidsToKill { if _, ok := removed[pid]; ok { continue } klog.V(3).InfoS("Attempting to kill process from cgroup", "pid", pid, "cgroupName", podCgroup) if err := m.killOnePid(pid); err != nil { klog.V(3).InfoS("Failed to kill process from cgroup", "pid", pid, "cgroupName", podCgroup, "err", err) errlist = append(errlist, err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 16:38:36 UTC 2023 - 12.5K bytes - Viewed (0)