Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 107 for pdkill (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/envoy/proxy.go

    		return err
    	}
    	done := make(chan error, 1)
    	go func() {
    		done <- cmd.Wait()
    	}()
    
    	select {
    	case err := <-abort:
    		log.Warnf("Aborting proxy")
    		if errKill := cmd.Process.Kill(); errKill != nil {
    			log.Warnf("killing proxy caused an error %v", errKill)
    		}
    		return err
    	case err := <-done:
    		return err
    	}
    }
    
    func (e *envoy) Cleanup() {
    	if e.ConfigCleanup {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_pods_test.go

    				}
    
    				// expect we get a pod sync record for kill that should have the default grace period
    				if actual, expected := records[uid], []syncPodRecord{
    					{name: "pod1", updateType: kubetypes.SyncPodCreate},
    					{name: "pod1", updateType: kubetypes.SyncPodKill},
    					// second attempt at kill
    					{name: "pod1", updateType: kubetypes.SyncPodKill},
    					{name: "pod1", terminated: true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
Back to top