Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Signalfd (0.23 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    #include <sys/ioctl.h>
    #include <sys/mman.h>
    #include <sys/mount.h>
    #include <sys/prctl.h>
    #include <sys/stat.h>
    #include <sys/types.h>
    #include <sys/time.h>
    #include <sys/select.h>
    #include <sys/signalfd.h>
    #include <sys/socket.h>
    #include <sys/timerfd.h>
    #include <sys/uio.h>
    #include <sys/xattr.h>
    #include <netinet/udp.h>
    #include <linux/audit.h>
    #include <linux/bpf.h>
    #include <linux/can.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  2. src/iter/iter.go

    // or after calling stop. These calls will continue
    // to return the zero V and false.
    //
    // Stop ends the iteration. It must be called when the caller is
    // no longer interested in next values and next has not yet
    // signaled that the sequence is over (with a false boolean return).
    // It is valid to call stop multiple times and when next has
    // already returned false.
    //
    // It is an error to call next or stop from multiple goroutines
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. src/os/exec_posix.go

    			res = "exit status " + itoa.Uitox(uint(code))
    		} else { // unix systems use small decimal integers
    			res = "exit status " + itoa.Itoa(code) // unix
    		}
    	case status.Signaled():
    		res = "signal: " + status.Signal().String()
    	case status.Stopped():
    		res = "stop signal: " + status.StopSignal().String()
    		if status.StopSignal() == syscall.SIGTRAP && status.TrapCause() != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. internal/ringbuffer/ring_buffer.go

    	w         int // next position to write
    	isFull    bool
    	err       error
    	block     bool
    	mu        sync.Mutex
    	wg        sync.WaitGroup
    	readCond  *sync.Cond // Signaled when data has been read.
    	writeCond *sync.Cond // Signaled when data has been written.
    }
    
    // New returns a new RingBuffer whose buffer has the given size.
    func New(size int) *RingBuffer {
    	return &RingBuffer{
    		buf:  make([]byte, size),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/config.go

    func (c *Config) DrainedNotify() <-chan struct{} {
    	return c.lifecycleSignals.InFlightRequestsDrained.Signaled()
    }
    
    // ShutdownInitiated returns a lifecycle signal of apiserver shutdown having been initiated.
    func (c *Config) ShutdownInitiatedNotify() <-chan struct{} {
    	return c.lifecycleSignals.ShutdownInitiated.Signaled()
    }
    
    // Complete fills in any fields not set that are required to have valid data and can be derived
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. cmd/admin-heal-ops.go

    	// wait for the current healing operation to finish
    	nopHeal = ""
    )
    
    var (
    	errHealIdleTimeout   = errors.New("healing results were not consumed for too long")
    	errHealStopSignalled = errors.New("heal stop signaled")
    
    	errFnHealFromAPIErr = func(ctx context.Context, err error) error {
    		apiErr := toAdminAPIErr(ctx, err)
    		return fmt.Errorf("Heal internal error: %s: %s",
    			apiErr.Code, apiErr.Description)
    	}
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 18:04:41 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  9. src/syscall/syscall_linux.go

    )
    
    func (w WaitStatus) Exited() bool { return w&mask == exited }
    
    func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != exited }
    
    func (w WaitStatus) Stopped() bool { return w&0xFF == stopped }
    
    func (w WaitStatus) Continued() bool { return w == 0xFFFF }
    
    func (w WaitStatus) CoreDump() bool { return w.Signaled() && w&core != 0 }
    
    func (w WaitStatus) ExitStatus() int {
    	if !w.Exited() {
    		return -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  10. src/runtime/preempt.go

    // asynchronous, it also checks if the running goroutine wants to be
    // preempted, since this could have changed. If all conditions are
    // satisfied, it adjusts the signal context to make it look like the
    // signaled thread just called asyncPreempt and resumes the thread.
    // asyncPreempt spills all registers and enters the scheduler.
    //
    // (An alternative would be to preempt in the signal handler itself.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top