Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 421 for kill (0.09 sec)

  1. 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)
  2. 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)
  3. src/os/exec/exec.go

    		// c.Process.Wait returned and we've handed the timer off to c.Wait.
    		// It will take care of goroutine shutdown from here.
    		return
    	case <-timer.C:
    	}
    
    	killed := false
    	if killErr := c.Process.Kill(); killErr == nil {
    		// We appear to have killed the process. c.Process.Wait should return a
    		// non-nil error to c.Wait unless the Kill signal races with a successful
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/artifact/LocalFileDependencyBackedArtifactSet.java

     * before the dependencies are executed, but file dependencies do not.</p>
     *
     * <p>We should do one of these things to fix the current mess here:</p>
     * <ul>
     *     <li>Kill file dependencies</li>
     *     <li>Enhance file dependencies to know what files they produce</li>
     *     <li>Kill artifactType registry</li>
     * </ul>
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 13.4K 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/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)
  9. testing/soak/src/integTest/groovy/org/gradle/resolve/DependencyResolutionStressTest.groovy

        def setup() {
            concurrent.shortTimeout = 180000
        }
    
        def cleanup() {
            new DaemonLogsAnalyzer(workspace.file("daemon")).daemons.each { it.kill() }
        }
    
        def "handles concurrent access to changing artifacts"() {
            expect:
            4.times { count ->
                def buildDir = workspace.file(count)
                concurrent.start {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. src/internal/fuzz/worker.go

    	}()
    
    	sig := os.Interrupt
    	if runtime.GOOS == "windows" {
    		// Per https://golang.org/pkg/os/#Signal, “Interrupt is not implemented on
    		// Windows; using it with os.Process.Signal will return an error.”
    		// Fall back to Kill instead.
    		sig = os.Kill
    	}
    
    	t := time.NewTimer(workerTimeoutDuration)
    	for {
    		select {
    		case <-w.termC:
    			// Worker terminated.
    			t.Stop()
    			<-closeC
    			w.cmd = nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 37.7K bytes
    - Viewed (0)
Back to top