Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 977 for kill (0.04 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonClientFixture.groovy

            Long pid
            ConcurrentTestUtil.poll {
                pid = getPidFromOutput(gradleHandle) as Long
            }
            this.process = new ProcessFixture(pid)
        }
    
        DaemonClientFixture kill() {
            process.kill(false)
            gradleHandle.waitForFailure()
            return this
        }
    
        static String getPidFromOutput(GradleHandle build) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. docs/distributed/decom.sh

    	echo "waiting for decom to finish..."
    	count=$((count + 1))
    	if [ ${count} -eq 120 ]; then
    		./mc cat /tmp/expanded_*.log
    	fi
    	sleep 1
    done
    
    kill $pid_1
    kill $pid_2
    
    sleep 5
    
    (minio server --address ":9001" http://localhost:9001/tmp/xl/{11...30}/disk{0...3} 2>&1 >/tmp/removed.log) &
    pid=$!
    
    sleep 5
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. pkg/kubelet/eviction/eviction_manager_test.go

    				t.Errorf("Manager chose to kill pod: %v, but should have chosen %v", podKiller.pod.Name, podToEvict.Name)
    			}
    			if podKiller.gracePeriodOverride == nil {
    				t.Errorf("Manager chose to kill pod but should have had a grace period override.")
    			}
    			observedGracePeriod = *podKiller.gracePeriodOverride
    			if observedGracePeriod != int64(1) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  4. src/runtime/signal_plan9.go

    	{_SigThrow, "sys:"},
    
    	// Issued to all other procs when calling runtime·exit.
    	{_SigGoExit, "go: exit "},
    
    	// Kill is sent by external programs to cause an exit.
    	{_SigKill, "kill"},
    
    	// Interrupts can be handled if desired, otherwise they cause an exit.
    	{_SigNotify + _SigKill, "interrupt"},
    	{_SigNotify + _SigKill, "hangup"},
    
    	// Alarms can be handled if desired, otherwise they're ignored.
    	{_SigNotify, "alarm"},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 07 16:25:17 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testcarchive/testdata/main2.c

    	i = pthread_sigmask(SIG_BLOCK, &mask, NULL);
    	if (i != 0) {
    		fprintf(stderr, "pthread_sigmask: %s\n", strerror(i));
    		exit(EXIT_FAILURE);
    	}
    
    	if (verbose) {
    		printf("calling kill\n");
    	}
    
    	if (kill(0, SIGIO) < 0) {
    		die("kill");
    	}
    
    	if (verbose) {
    		printf("waiting for sigioSeen\n");
    	}
    
    	// Wait until the signal has been delivered.
    	i = 0;
    	while (!sigioSeen) {
    		ts.tv_sec = 0;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r63/DistributionChecksumCrossVersionSpec.groovy

    import org.gradle.tooling.ProjectConnection
    
    class DistributionChecksumCrossVersionSpec extends ToolingApiSpecification {
        // Newer clients no longer kill the JVM when a distribution is invalid.
        @TargetGradleVersion(">=3.0 <6.3")
        def "invalid Gradle distribution does not kill the TAPI client with older Gradle versions"() {
            given:
            toolingApi.requireDaemons()
            toolingApi.requireIsolatedUserHome()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/os/exec_unix_test.go

    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    	p, err := StartProcess(testenv.GoToolPath(t), []string{"go"}, &ProcAttr{})
    	if err != nil {
    		t.Fatalf("starting test process: %v", err)
    	}
    	p.Wait()
    	if got := p.Signal(Kill); got != ErrProcessDone {
    		t.Errorf("got %v want %v", got, ErrProcessDone)
    	}
    }
    
    // Lookup of a process that does not exist at time of lookup.
    func TestProcessAlreadyDone(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. src/runtime/os_unix_nonlinux.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix && !linux
    
    package runtime
    
    // sigFromUser reports whether the signal was sent because of a call
    // to kill.
    //
    //go:nosplit
    func (c *sigctxt) sigFromUser() bool {
    	return c.sigcode() == _SI_USER
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 21 01:56:24 UTC 2022
    - 374 bytes
    - Viewed (0)
Back to top