Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 313 for kill (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/os/signal/doc.go

    is called for either signal, a signal handler will be installed for
    that signal and it will no longer be ignored. If, later, [Reset] or
    [Ignore] is called for that signal, or [Stop] is called on all channels
    passed to Notify for that signal, the signal will once again be
    ignored. Reset will restore the system default behavior for the
    signal, while Ignore will cause the system to ignore the signal
    entirely.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:11:00 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. 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)
  9. pkg/test/framework/components/echo/kube/templates/vm_deployment.yaml

              # This is not strictly needed, but it makes our CI properly report crashes (including core dumps)
              cat <<'EOF'>/tmp/start.sh
              #!/bin/bash
              /usr/local/bin/istio-start.sh
              kill "$1"
              EOF
              chmod +x /tmp/start.sh
              
              export ISTIO_AGENT_FLAGS="--concurrency 2 --proxyLogLevel warning,misc:error,rbac:debug,jwt:debug"
              sudo -E /tmp/start.sh $pid &
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 19:29:42 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. src/mime/quotedprintable/reader_test.go

    				s, _ := br.ReadString('\n')
    				if s != "" {
    					qpres <- errors.New(s)
    					if cmd.Process != nil {
    						// It can get stuck on invalid input, like:
    						// echo -n "0000= " | qprint -d
    						cmd.Process.Kill()
    					}
    				}
    			}()
    			go func() {
    				want, err := cmd.Output()
    				if err == nil {
    					qpres <- want
    				}
    			}()
    			select {
    			case got := <-qpres:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top