Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for thrkill (0.45 sec)

  1. pkg/envoy/proxy.go

    	}
    	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)
  2. src/cmd/compile/internal/liveness/plive.go

    type blockEffects struct {
    	// Computed during Liveness.prologue using only the content of
    	// individual blocks:
    	//
    	//	uevar: upward exposed variables (used before set in block)
    	//	varkill: killed variables (set in block)
    	uevar   bitvec.BitVec
    	varkill bitvec.BitVec
    
    	// Computed during Liveness.solve using control flow information:
    	//
    	//	livein: variables live at block entry
    	//	liveout: variables live at block exit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  3. src/runtime/export_debug_test.go

    // arguments and return space) for fn, or nil. tkill must be a function that
    // will send SIGTRAP to thread ID tid. gp must be locked to its OS thread and
    // running.
    //
    // On success, InjectDebugCall returns the panic value of fn or nil.
    // If fn did not panic, its results will be available in args.
    func InjectDebugCall(gp *g, fn any, regArgs *abi.RegArgs, stackArgs any, tkill func(tid int) error, returnOnUnsafePoint bool) (any, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. pkg/controller/daemon/update.go

    	if err != nil {
    		return fmt.Errorf("couldn't get node to daemon pod mapping for daemon set %q: %v", ds.Name, err)
    	}
    
    	toKeep := int(*ds.Spec.RevisionHistoryLimit)
    	toKill := len(old) - toKeep
    	if toKill <= 0 {
    		return nil
    	}
    
    	// Find all hashes of live pods
    	liveHashes := make(map[string]bool)
    	for _, pods := range nodesToDaemonPods {
    		for _, pod := range pods {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/deadstore.go

    		}
    		// replace with OpCopy
    		v.SetArgs1(v.MemoryArg())
    		v.Aux = nil
    		v.AuxInt = 0
    		v.Op = OpCopy
    	}
    }
    
    // elimUnreadAutos deletes stores (and associated bookkeeping ops VarDef and VarKill)
    // to autos that are never read from.
    func elimUnreadAutos(f *Func) {
    	// Loop over all ops that affect autos taking note of which
    	// autos we need and also stores that we might be able to
    	// eliminate.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. 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)
  7. src/runtime/sys_linux_ppc64x.s

    	SYSCALL	$SYS_getpid
    	MOVW	R3, R3	// arg 1 pid
    	MOVW	sig+0(FP), R4	// arg 2
    	SYSCALL	$SYS_kill
    	RET
    
    TEXT ·getpid(SB),NOSPLIT|NOFRAME,$0-8
    	SYSCALL $SYS_getpid
    	MOVD	R3, ret+0(FP)
    	RET
    
    TEXT ·tgkill(SB),NOSPLIT|NOFRAME,$0-24
    	MOVD	tgid+0(FP), R3
    	MOVD	tid+8(FP), R4
    	MOVD	sig+16(FP), R5
    	SYSCALL $SYS_tgkill
    	RET
    
    TEXT runtime·setitimer(SB),NOSPLIT|NOFRAME,$0-24
    	MOVW	mode+0(FP), R3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  8. src/syscall/syscall_linux.go

    //sys	Setxattr(path string, attr string, data []byte, flags int) (err error)
    //sys	Sync()
    //sysnb	Sysinfo(info *Sysinfo_t) (err error)
    //sys	Tee(rfd int, wfd int, len int, flags int) (n int64, err error)
    //sysnb	Tgkill(tgid int, tid int, sig Signal) (err error)
    //sysnb	Times(tms *Tms) (ticks uintptr, err error)
    //sysnb	Umask(mask int) (oldmask int)
    //sysnb	Uname(buf *Utsname) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssagen/ssa.go

    		// generate incr
    		s.startBlock(bIncr)
    		if n.Post != nil {
    			s.stmt(n.Post)
    		}
    		if b := s.endBlock(); b != nil {
    			b.AddEdgeTo(bCond)
    			// It can happen that bIncr ends in a block containing only VARKILL,
    			// and that muddles the debugging experience.
    			if b.Pos == src.NoXPos {
    				b.Pos = bCond.Pos
    			}
    		}
    
    		s.startBlock(bEnd)
    
    	case ir.OSWITCH, ir.OSELECT:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top