Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt

            forEachJavaProcess { pid, _ ->
                suspiciousDaemons.forEach { (suite, pids) ->
                    if (pid in pids && pid !in alreadyKilled) {
                        logger.warn("A process was created in $suite but wasn't shutdown properly. Killing PID $pid")
                        KillLeakingJavaProcesses.pkill(pid)
                    }
                }
            }
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/internal/poll/fd_io_plan9.go

    // The undergoing I/O system call can either complete or be
    // interrupted by a note.
    type asyncIO struct {
    	res chan result
    
    	// mu guards the pid field.
    	mu sync.Mutex
    
    	// pid holds the process id of
    	// the process running the IO operation.
    	pid int
    }
    
    // result is the return value of a Read or Write operation.
    type result struct {
    	n   int
    	err error
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Mar 14 17:56:50 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top