Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 425 for kill (0.06 sec)

  1. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            /**
             * Run at the beginning of each build. Kill potentially leaked processes in previous builds.
             * Only kill local Gradle processes (classpath in checkout directory).
             * Not clean up global Gradle processes (i.e. classpath in ~/.gradle/...).
             */
            KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS,
            /**
             * Run at the end of each build. Kill potentially leaked processes in the current build.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/liveness/intervals.go

    // candidate variable), by making a
    // backwards sweep and invoking the Live/Kill methods to note the
    // starts and end of a given lifetime. For the example above, we would
    // expect to see this sequence of calls to Live/Kill:
    //
    //    abc:  Live(9), Kill(8), Live(6), Kill(0)
    //    xyz:  Live(8), Kill(2)
    
    import (
    	"fmt"
    	"os"
    	"strings"
    )
    
    const debugtrace = false
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 21:55:27 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonReuseIntegrationTest.groovy

        def "reused daemon port does not prevent new builds from starting"() {
            given:
            // Start a daemon
            executer.run()
            daemons.daemon.assertIdle()
            // Kill the daemon without letting it shutdown cleanly
            daemons.daemon.kill()
    
            // Take over the daemon's port. The daemon may take some time to finally shutdown and release the port.
            def nonDaemonProcess = new ServerSocket()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/pod_container_manager_linux.go

    	return m.cgroupManager.SetCgroupConfig(podCgroupName, resource, resourceConfig)
    }
    
    // Kill one process ID
    func (m *podContainerManagerImpl) killOnePid(pid int) error {
    	// os.FindProcess never returns an error on POSIX
    	// https://go-review.googlesource.com/c/go/+/19093
    	p, _ := os.FindProcess(pid)
    	if err := p.Kill(); err != nil {
    		// If the process already exited, that's fine.
    		if errors.Is(err, os.ErrProcessDone) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 16:38:36 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. src/os/signal/signal_test.go

    	t.Logf("sigwinch...")
    	syscall.Kill(syscall.Getpid(), syscall.SIGWINCH)
    	waitSigAll(t, c1, syscall.SIGWINCH)
    
    	// Send two more SIGHUPs, to make sure that
    	// they get delivered on c1 and that not reading
    	// from c does not block everything.
    	t.Logf("sighup...")
    	syscall.Kill(syscall.Getpid(), syscall.SIGHUP)
    	waitSigAll(t, c1, syscall.SIGHUP)
    	t.Logf("sighup...")
    	syscall.Kill(syscall.Getpid(), syscall.SIGHUP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:34:56 UTC 2023
    - 27.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/ProcessCrashHandlingIntegrationTest.groovy

        }
    
        /**
         * When the daemon is started on *nix, we need to detach it from the terminal session of the parent process,
         * otherwise if a ctrl-c is entered on the terminal, it will kill all processes in the session.  This test compiles
         * a native executable that can retrieve the session id of a process so that we can verify that the session id
         * of the daemon is different than the session id of the client.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApi.groovy

                    LOGGER.warn("Unable to kill daemon(s)", ex)
                }
            }
            if (gradleUserHomeDir != context.gradleUserHomeDir) {
                // When the user home directory is not the default for int tests, then the Gradle instance that was used during the test will still be holding some services open in the user home dir (this is by design), so kill off the Gradle instance that was used.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:07:23 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. src/os/exec.go

    	//
    	// On Windows, calling Release a second time returns EINVAL.
    	return p.release()
    }
    
    // Kill causes the [Process] to exit immediately. Kill does not wait until
    // the Process has actually exited. This only kills the Process itself,
    // not any other processes it may have started.
    func (p *Process) Kill() error {
    	return p.kill()
    }
    
    // Wait waits for the [Process] to exit, and then returns a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. src/net/http/cgi/host.go

    		h.printf("cgi: copy error: %v", err)
    		// And kill the child CGI process so we don't hang on
    		// the deferred cmd.Wait above if the error was just
    		// the client (rw) going away. If it was a read error
    		// (because the child died itself), then the extra
    		// kill of an already-dead process is harmless (the PID
    		// won't be reused until the Wait above).
    		cmd.Process.Kill()
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. src/os/exec/exec_test.go

    	go func() {
    		defer wg.Done()
    		// We don't check the error return of Kill. It is
    		// possible that the process has already exited, in
    		// which case Kill will return an error "process
    		// already finished". The purpose of this test is to
    		// see whether the race detector reports an error; it
    		// doesn't matter whether this Kill succeeds or not.
    		cmd.Process.Kill()
    	}()
    
    	go func() {
    		defer wg.Done()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top