Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 88 for Signalfd (0.12 sec)

  1. src/syscall/syscall_aix.go

    func (w WaitStatus) ExitStatus() int {
    	if !w.Exited() {
    		return -1
    	}
    	return int((w >> 8) & 0xFF)
    }
    
    func (w WaitStatus) Signaled() bool { return w&0x40 == 0 && w&0xFF != 0 }
    func (w WaitStatus) Signal() Signal {
    	if !w.Signaled() {
    		return -1
    	}
    	return Signal(w>>16) & 0xFF
    }
    
    func (w WaitStatus) Continued() bool { return w&0x01000000 != 0 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. src/runtime/sys_linux_ppc64x.s

    	BL	(CTR)	// Call from VDSO
    
    finish:
    	MOVD	$0, R0		// Restore R0
    	MOVD	0(R1), R3	// sec
    	MOVD	8(R1), R5	// nsec
    	MOVD	R15, R1		// Restore SP
    
    	// Restore vdsoPC, vdsoSP
    	// We don't worry about being signaled between the two stores.
    	// If we are not in a signal handler, we'll restore vdsoSP to 0,
    	// and no one will care about vdsoPC. If we are in a signal handler,
    	// we cannot receive another signal.
    	MOVD	40(R1), R6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. src/syscall/syscall_wasip1.go

    	S_IROTH = 04
    	S_IWOTH = 02
    	S_IXOTH = 01
    )
    
    type WaitStatus uint32
    
    func (w WaitStatus) Exited() bool       { return false }
    func (w WaitStatus) ExitStatus() int    { return 0 }
    func (w WaitStatus) Signaled() bool     { return false }
    func (w WaitStatus) Signal() Signal     { return 0 }
    func (w WaitStatus) CoreDump() bool     { return false }
    func (w WaitStatus) Stopped() bool      { return false }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. src/runtime/sys_linux_386.s

    	LEAL	8(SP), CX
    	INVOKE_SYSCALL
    
    finish:
    	MOVL	8(SP), AX	// sec
    	MOVL	12(SP), BX	// nsec
    
    	MOVL	BP, SP		// Restore real SP
    	// Restore vdsoPC, vdsoSP
    	// We don't worry about being signaled between the two stores.
    	// If we are not in a signal handler, we'll restore vdsoSP to 0,
    	// and no one will care about vdsoPC. If we are in a signal handler,
    	// we cannot receive another signal.
    	MOVL	4(SP), CX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  5. src/runtime/sys_linux_arm64.s

    fallback:
    	MOVD	$SYS_clock_gettime, R8
    	SVC
    
    finish:
    	MOVD	0(RSP), R3	// sec
    	MOVD	8(RSP), R5	// nsec
    
    	MOVD	R20, RSP	// restore SP
    	// Restore vdsoPC, vdsoSP
    	// We don't worry about being signaled between the two stores.
    	// If we are not in a signal handler, we'll restore vdsoSP to 0,
    	// and no one will care about vdsoPC. If we are in a signal handler,
    	// we cannot receive another signal.
    	MOVD	16(RSP), R1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  6. pkg/volume/util/subpath/subpath_linux.go

    		}
    		// Set child to new parent
    		parentFD = childFD
    		childFD = -1
    	}
    
    	// We made it to the end, return this fd, don't close it
    	finalFD := parentFD
    	parentFD = -1
    
    	return finalFD, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 12 14:09:11 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  7. pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go

    	// Defer operations are executed in Last-In is First-Out order. In this case
    	// the lock is acquired first when operationCompletes begins, and is
    	// released when the method finishes, after the lock is released cond is
    	// signaled to wake waiting goroutine.
    	defer grm.cond.Signal()
    	grm.lock.Lock()
    	defer grm.lock.Unlock()
    
    	if *err == nil || !grm.exponentialBackOffOnError {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 01:29:17 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  8. src/runtime/crash_unix_test.go

    	} else if ws, ok := ee.Sys().(syscall.WaitStatus); !ok {
    		t.Errorf("error.Sys (%v) has type %T; expected syscall.WaitStatus", ee.Sys(), ee.Sys())
    	} else if !ws.Signaled() || ws.Signal() != syscall.SIGTERM {
    		t.Errorf("got %v; expected SIGTERM", ee)
    	}
    }
    
    func TestSignalIgnoreSIGTRAP(t *testing.T) {
    	if runtime.GOOS == "openbsd" {
    		testenv.SkipFlaky(t, 49725)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 20:11:47 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/watch.go

    	ch := s.Watching.ResultChan()
    	done := req.Context().Done()
    
    	for {
    		select {
    		case <-s.ServerShuttingDownCh:
    			// the server has signaled that it is shutting down (not accepting
    			// any new request), all active watch request(s) should return
    			// immediately here. The WithWatchTerminationDuringShutdown server
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 16:37:25 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  10. src/syscall/syscall_plan9.go

    	if fd != -1 {
    		Close(fd)
    	}
    
    	return
    }
    
    type Waitmsg struct {
    	Pid  int
    	Time [3]uint32
    	Msg  string
    }
    
    func (w Waitmsg) Exited() bool   { return true }
    func (w Waitmsg) Signaled() bool { return false }
    
    func (w Waitmsg) ExitStatus() int {
    	if len(w.Msg) == 0 {
    		// a normal exit returns no message
    		return 0
    	}
    	return 1
    }
    
    //sys	await(s []byte) (n int, err error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top