Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 213 for kill (0.06 sec)

  1. src/os/exec_posix.go

    // systems are os.Interrupt (send the process an interrupt) and os.Kill (force
    // the process to exit). On Windows, sending os.Interrupt to a process with
    // os.Process.Signal is not implemented; it will return an error instead of
    // sending a signal.
    var (
    	Interrupt Signal = syscall.SIGINT
    	Kill      Signal = syscall.SIGKILL
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. docs/distributed/decom-encrypted-sse-s3.sh

    ./mc admin decom start myminio/ http://localhost:9000/tmp/xl/{1...10}/disk{0...1}
    
    until $(./mc admin decom status myminio/ | grep -q Complete); do
    	echo "waiting for decom to finish..."
    	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=$!
    
    export MC_HOST_myminio="http://minioadmin:minioadmin@localhost:9001/"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonProcessFailureIntegrationTest.groovy

            def pid1 = pidFile().text.strip() as long
            kill(pid1)
    
            when:
            handler.releaseAll()
            result = gradle.waitForFinish()
    
            then:
            outputContainsKilledWorkerWarning()
        }
    
        static void kill(long pid1) {
            def proc = new ProcessFixture(pid1)
            proc.kill(false)
            proc.waitForFinish()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 18:43:14 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testcshared/testdata/main4.c

    	if (i != 0) {
    		fprintf(stderr, "pthread_sigmask: %s\n", strerror(i));
    		exit(EXIT_FAILURE);
    	}
    
    	if (verbose) {
    		fprintf(stderr, "calling kill\n");
    	}
    
    	if (kill(0, SIGIO) < 0) {
    		die("kill");
    	}
    
    	if (verbose) {
    		fprintf(stderr, "waiting for sigioSeen\n");
    	}
    
    	// Wait until the signal has been delivered.
    	i = 0;
    	while (!sigioSeen) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  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