Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 902 for kill (0.05 sec)

  1. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLifecycleTest.groovy

            def children = daemonProcess.getChildProcesses()
            // Sends a kill -9 to the daemon process only
            daemons.daemon.killDaemonOnly()
    
            then:
            children.length == 0
    
            cleanup:
            // In the event this fails, clean up any orphaned children
            children.each { child ->
                new ProcessFixture(child as Long).kill(true)
            }
        }
    
        void newSnapshot() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. src/time/sys_plan9.go

    //go:build plan9
    
    package time
    
    import (
    	"errors"
    	"syscall"
    )
    
    // for testing: whatever interrupts a sleep
    func interrupt() {
    	// cannot predict pid, don't want to kill group
    }
    
    func open(name string) (uintptr, error) {
    	fd, err := syscall.Open(name, syscall.O_RDONLY)
    	if err != nil {
    		return 0, err
    	}
    	return uintptr(fd), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1016 bytes
    - Viewed (0)
  3. hack/local-up-cluster.sh

      if [[ -n "${KUBELET_PID-}" ]] && ! sudo kill -0 "${KUBELET_PID}" 2>/dev/null; then
        warning_log "kubelet terminated unexpectedly, see ${KUBELET_LOG}"
        KUBELET_PID=
      fi
    
      if [[ -n "${PROXY_PID-}" ]] && ! sudo kill -0 "${PROXY_PID}" 2>/dev/null; then
        warning_log "kube-proxy terminated unexpectedly, see ${PROXY_LOG}"
        PROXY_PID=
      fi
    
      if [[ -n "${SCHEDULER_PID-}" ]] && ! sudo kill -0 "${SCHEDULER_PID}" 2>/dev/null; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. src/race.bat

    del...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 16:59:17 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApi.groovy

                    LOGGER.warn("Unable to kill daemon(s)", ex)
                }
            }
            if (gradleUserHomeDir != context.gradleUserHomeDir) {
                // When the user home directory is not the default for int tests, then the Gradle instance that was used during the test will still be holding some services open in the user home dir (this is by design), so kill off the Gradle instance that was used.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:07:23 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. src/time/sys_unix.go

    	// somewhat defeats the purpose of TestSleep but we are still better off
    	// validating that time elapses when the process calls time.Sleep than
    	// skipping the test altogether.
    	if runtime.GOOS != "wasip1" {
    		syscall.Kill(syscall.Getpid(), syscall.SIGCHLD)
    	}
    }
    
    func open(name string) (uintptr, error) {
    	fd, err := syscall.Open(name, syscall.O_RDONLY, 0)
    	if err != nil {
    		return 0, err
    	}
    	return uintptr(fd), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:10 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testsanitizers/testdata/tsan11.go

    		exit(EXIT_FAILURE);
    	}
    }
    */
    import "C"
    
    func main() {
    	ch := make(chan os.Signal, 1)
    	signal.Notify(ch, syscall.SIGUSR2)
    
    	C.register_handler(C.int(syscall.SIGUSR1))
    	syscall.Kill(syscall.Getpid(), syscall.SIGUSR1)
    
    	<-ch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. pkg/ctrlz/topics/signals.go

    		fw.RenderHTML(w, tmpl, nil)
    	})
    
    	_ = context.JSONRouter().StrictSlash(true).NewRoute().Methods("PUT", "POST").Path("/SIGUSR1").HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
    		err := syscall.Kill(os.Getpid(), syscall.SIGUSR1)
    		if err != nil {
    			w.WriteHeader(http.StatusInternalServerError)
    			return
    		}
    		w.WriteHeader(http.StatusAccepted)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 17:12:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    		} else {
    			klog.V(4).InfoS("SyncPod received new pod, will create a sandbox for it", "pod", klog.KObj(pod))
    		}
    	}
    
    	// Step 2: Kill the pod if the sandbox has changed.
    	if podContainerChanges.KillPod {
    		if podContainerChanges.CreateSandbox {
    			klog.V(4).InfoS("Stopping PodSandbox for pod, will start new one", "pod", klog.KObj(pod))
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  10. src/os/exec.go

    	//
    	// On Windows, calling Release a second time returns EINVAL.
    	return p.release()
    }
    
    // Kill causes the [Process] to exit immediately. Kill does not wait until
    // the Process has actually exited. This only kills the Process itself,
    // not any other processes it may have started.
    func (p *Process) Kill() error {
    	return p.kill()
    }
    
    // Wait waits for the [Process] to exit, and then returns a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top