Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 133 for pdkill (0.2 sec)

  1. src/os/exec/exec.go

    //
    // The provided context is used to interrupt the process
    // (by calling cmd.Cancel or [os.Process.Kill])
    // if the context becomes done before the command completes on its own.
    //
    // CommandContext sets the command's Cancel function to invoke the Kill method
    // on its Process, and leaves its WaitDelay unset. The caller may change the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  2. src/os/exec_windows.go

    	handle, status := p.handleTransientAcquire()
    	switch status {
    	case statusDone:
    		return ErrProcessDone
    	case statusReleased:
    		return syscall.EINVAL
    	}
    	defer p.handleTransientRelease()
    
    	if sig == Kill {
    		var terminationHandle syscall.Handle
    		e := syscall.DuplicateHandle(^syscall.Handle(0), syscall.Handle(handle), ^syscall.Handle(0), &terminationHandle, syscall.PROCESS_TERMINATE, false, 0)
    		if e != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/os/pidfd_linux.go

    	}
    	return h, nil
    }
    
    // _P_PIDFD is used as idtype argument to waitid syscall.
    const _P_PIDFD = 3
    
    func (p *Process) pidfdWait() (*ProcessState, error) {
    	// When pidfd is used, there is no wait/kill race (described in CL 23967)
    	// because the PID recycle issue doesn't exist (IOW, pidfd, unlike PID,
    	// is guaranteed to refer to one particular process). Thus, there is no
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. pkg/kubelet/pod_workers_test.go

    		return
    	}
    	for i := 0; i < numPods; i++ {
    		uid := types.UID(strconv.Itoa(i))
    		// each pod should be processed two or three times (kill,terminate or create,kill,terminate) because
    		// we buffer pending updates and the pod worker may compress the create and kill
    		syncPodRecords := processed[uid]
    		var match bool
    		grace := int64(30)
    		for _, possible := range [][]syncPodRecord{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/mod/modfile/rule.go

    }
    
    func removeDups(syntax *FileSyntax, exclude *[]*Exclude, replace *[]*Replace) {
    	kill := make(map[*Line]bool)
    
    	// Remove duplicate excludes.
    	if exclude != nil {
    		haveExclude := make(map[module.Version]bool)
    		for _, x := range *exclude {
    			if haveExclude[x.Mod] {
    				kill[x.Syntax] = true
    				continue
    			}
    			haveExclude[x.Mod] = true
    		}
    		var excl []*Exclude
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonClientsManager.java

                }
            }
        }
    
        private static final Consumer<WorkerDaemonClient> STOP_CLIENT = WorkerDaemonClient::stop;
        private static final Consumer<WorkerDaemonClient> KILL_CLIENT = WorkerDaemonClient::kill;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:54:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. build/common.sh

      fi
      echo "${short_hash:0:10}"
    }
    
    # Pedantically kill, wait-on and remove a container. The -f -v options
    # to rm don't actually seem to get the job done, so force kill the
    # container, wait to ensure it's stopped, then try the remove. This is
    # a workaround for bug https://github.com/docker/docker/issues/3968.
    function kube::build::destroy_container() {
      "${DOCKER[@]}" kill "$1" >/dev/null 2>&1 || true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  8. src/runtime/crash_cgo_test.go

    		t.Skipf("no signals on %s", runtime.GOOS)
    	}
    
    	for _, test := range []string{"Segv", "SegvInCgo", "TgkillSegv", "TgkillSegvInCgo"} {
    		test := test
    
    		// The tgkill variants only run on Linux.
    		if runtime.GOOS != "linux" && strings.HasPrefix(test, "Tgkill") {
    			continue
    		}
    
    		t.Run(test, func(t *testing.T) {
    			if test == "SegvInCgo" && runtime.GOOS == "ios" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  9. src/os/signal/doc.go

    Synchronous signals are signals triggered by errors in program
    execution: SIGBUS, SIGFPE, and SIGSEGV. These are only considered
    synchronous when caused by program execution, not when sent using
    [os.Process.Kill] or the kill program or some similar mechanism. In
    general, except as discussed below, Go programs will convert a
    synchronous signal into a run-time panic.
    
    The remaining signals are asynchronous signals. They are not
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:11:00 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy

                .withWorkerDaemonsExpirationDisabled()
                .withTasks(task)
    
            client = new DaemonClientFixture(executer.start())
        }
    
        private void cancelBuild() {
            client.kill()
            assert !client.gradleHandle.standardOutput.contains("BUILD FAIL")
            assert !client.gradleHandle.standardOutput.contains("BUILD SUCCESS")
        }
    
        private void succeeds() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top