Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 503 for Pid (0.02 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/ProcessCrashHandlingIntegrationTest.groovy

                    int pid, sid;
                    if (argc != 2) {
                        printf("Expected a pid parameter, but was given %d\\n", argc - 1);
                        return 1;
                    } else {
                        pid = atoi(argv[1]);
                    }
                    pid_t getsid(pid_t pid);
                    sid = getsid(pid);
                    printf("%d\\n", sid);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zptrace_x86_linux.go

    }
    
    // PtraceGetRegs386 fetches the registers used by 386 binaries.
    func PtraceGetRegs386(pid int, regsout *PtraceRegs386) error {
    	return ptracePtr(PTRACE_GETREGS, pid, 0, unsafe.Pointer(regsout))
    }
    
    // PtraceSetRegs386 sets the registers used by 386 binaries.
    func PtraceSetRegs386(pid int, regs *PtraceRegs386) error {
    	return ptracePtr(PTRACE_SETREGS, pid, 0, unsafe.Pointer(regs))
    }
    
    // PtraceRegsAmd64 is the registers used by amd64 binaries.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/protocol/DaemonStatusAndErrorReportingTest.groovy

        def "PID can be null"() {
            given:
            def daemonContext = new DefaultDaemonContext(null, null, null, null, null, null, null, false, NativeServicesMode.ENABLED, null)
    
            when:
            def pid = daemonContext.pid;
    
            then:
            noExceptionThrown()
            pid == null
        }
    
        def "PID unboxing should not happen in Status"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/zptrace_mipsnn_linux.go

    // PtraceGetRegsMips fetches the registers used by mips binaries.
    func PtraceGetRegsMips(pid int, regsout *PtraceRegsMips) error {
    	return ptracePtr(PTRACE_GETREGS, pid, 0, unsafe.Pointer(regsout))
    }
    
    // PtraceSetRegsMips sets the registers used by mips binaries.
    func PtraceSetRegsMips(pid int, regs *PtraceRegsMips) error {
    	return ptracePtr(PTRACE_SETREGS, pid, 0, unsafe.Pointer(regs))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/bootstrap/DaemonStartupCommunicationSpec.groovy

            startupInfo.pid == 123
            startupInfo.diagnostics.pid == 123
            startupInfo.diagnostics.daemonLog == dummyFile
        }
    
        def "null pid is supported"() {
            when:
            def message = message(null, "1234", uuid, 123, addresses, dummyFile)
            def startupInfo = comm.readDiagnostics(message)
    
            then:
            startupInfo.diagnostics.pid == null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DefaultDaemonContext.java

                encoder.writeSmallInt(context.javaVersion.asInt());
                encoder.writeString(context.daemonRegistryDir.getPath());
                encoder.writeBoolean(context.pid != null);
                if (context.pid != null) {
                    encoder.writeLong(context.pid);
                }
                encoder.writeBoolean(context.idleTimeout != null);
                if (context.idleTimeout != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

                    System.out.println("Killing Gradle process with PID " + pid + ": " + line);
                    pkill(pid);
                });
            } else {
                forEachLeakingJavaProcess(rootProjectDir, (pid, line) -> {
                    System.out.println("A process wasn't shutdown properly in a previous Gradle run. Killing process with PID " + pid + ": " + line);
                    pkill(pid);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonStopEvent.java

        @Nullable
        private final Long pid;
        @Nullable
        private final DaemonExpirationStatus status;
        @Nullable
        private final String reason;
    
        public DaemonStopEvent(Date timestamp, @Nullable Long pid, @Nullable DaemonExpirationStatus status, @Nullable String reason) {
            this.timestamp = timestamp;
            this.status = status;
            this.reason = reason;
            this.pid = pid;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. src/syscall/exec_plan9.go

    func startProcess(argv0 string, argv []string, attr *ProcAttr) (pid int, err error) {
    	type forkRet struct {
    		pid int
    		err error
    	}
    
    	forkc := make(chan forkRet, 1)
    	go func() {
    		runtime.LockOSThread()
    		var ret forkRet
    
    		ret.pid, ret.err = forkExec(argv0, argv, attr)
    		// If fork fails there is nothing to wait for.
    		if ret.err != nil || ret.pid == 0 {
    			forkc <- ret
    			return
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/container_manager_linux.go

    	}
    }
    
    func isProcessRunningInHost(pid int) (bool, error) {
    	// Get init pid namespace.
    	initPidNs, err := os.Readlink("/proc/1/ns/pid")
    	if err != nil {
    		return false, fmt.Errorf("failed to find pid namespace of init process")
    	}
    	klog.V(10).InfoS("Found init PID namespace", "namespace", initPidNs)
    	processPidNs, err := os.Readlink(fmt.Sprintf("/proc/%d/ns/pid", pid))
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top