Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 793 for kill (0.04 sec)

  1. src/syscall/exec_windows_test.go

    	parent.Env = append(os.Environ(), "GO_WANT_HELPER_PROCESS=parent")
    	err := parent.Start()
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer func() {
    		parent.Process.Kill()
    		parent.Wait()
    	}()
    
    	// run child process
    
    	const _PROCESS_CREATE_PROCESS = 0x0080
    	const _PROCESS_DUP_HANDLE = 0x0040
    	childDumpPath := filepath.Join(t.TempDir(), "ppid.txt")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/syscall/syscall_darwin.go

    //
    //go:linkname utimensat
    
    //sys	utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error)
    
    /*
     * Wrapped
     */
    
    //sys	kill(pid int, signum int, posix int) (err error)
    
    func Kill(pid int, signum Signal) (err error) { return kill(pid, int(signum), 1) }
    
    /*
     * Exposed directly
     */
    //sys	Access(path string, mode uint32) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. tools/istio-iptables/pkg/dependencies/implementation_linux.go

    		}
    		return nil
    	}
    
    	executed := false
    	// Once we call unshare(CLONE_NEWNS), we cannot undo it explicitly. Instead, we need to unshare on a specific thread,
    	// then kill that thread when we are done (or rather, let Go runtime kill the thread).
    	// Unfortunately, making a new thread breaks us out of the network namespace we entered previously, so we need to restore that as well
    	go func() {
    		chErr <- func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 12 20:49:10 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonClient.java

        }
    
        JvmMemoryStatus getJvmMemoryStatus() {
            return workerProcess.getJvmMemoryStatus();
        }
    
        @Override
        public void stop() {
            workerClient.stop();
        }
    
        public void kill() {
            workerClient.stopNow();
        }
    
        DaemonForkOptions getForkOptions() {
            return forkOptions;
        }
    
        public int getUses() {
            return uses;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:54:37 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/example/v1/generated.proto

      // Specifies the hostname of the Pod
      // If not specified, the pod's hostname will be set to a system-defined value.
      // +optional
      optional string hostname = 16;
    
      // If specified, the fully qualified Pod hostname will be "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>".
      // If not specified, the pod will not have a domainname at all.
      // +optional
      optional string subdomain = 17;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. common-protos/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.proto

      // Specifies the hostname of the Carp
      // If not specified, the carp's hostname will be set to a system-defined value.
      // +optional
      optional string hostname = 16;
    
      // If specified, the fully qualified Carp hostname will be "<hostname>.<subdomain>.<carp namespace>.svc.<cluster domain>".
      // If not specified, the carp will not have a domainname at all.
      // +optional
      optional string subdomain = 17;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonLogsAnalyzer.groovy

            return new DaemonLogsAnalyzer(daemonBaseDir, version)
        }
    
        DaemonRegistry getRegistry() {
            return registry
        }
    
        void killAll() {
            allDaemons*.kill()
        }
    
    
        List<DaemonFixture> getDaemons() {
            getAllDaemons().findAll { !daemonStoppedWithSocketExceptionOnWindows(it) || it.logContains("Starting build in new daemon") }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. src/runtime/internal/wasitest/tcpecho_test.go

    	}
    
    	var b bytes.Buffer
    	subProcess.Stdout = &b
    	subProcess.Stderr = &b
    
    	if err := subProcess.Start(); err != nil {
    		t.Log(b.String())
    		t.Fatal(err)
    	}
    	defer subProcess.Process.Kill()
    
    	var conn net.Conn
    	for {
    		var err error
    		conn, err = net.Dial("tcp", host)
    		if err == nil {
    			break
    		}
    		time.Sleep(500 * time.Millisecond)
    	}
    	defer conn.Close()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 22:01:11 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. src/os/exec/exec_posix_test.go

    	}
    	buf := make([]byte, len(msg))
    	if _, err := io.ReadFull(stdout, buf); err != nil {
    		t.Fatal(err)
    	}
    	// Now leave the pipes open so that the process will hang until we close stdin.
    
    	if err := cmd.Process.Signal(syscall.SIGSTOP); err != nil {
    		cmd.Process.Kill()
    		t.Fatal(err)
    	}
    
    	ch := make(chan error)
    	go func() {
    		ch <- cmd.Wait()
    	}()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 20:21:32 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  10. hack/make-rules/test-integration.sh

      kube::log::usage "You can use 'hack/install-etcd.sh' to install a copy in third_party/."
      return 1
    }
    
    checkEtcdOnPath
    
    # Run cleanup to stop etcd on interrupt or other kill signal.
    trap cleanup EXIT
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:57 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top