Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for Signalfd (0.15 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. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_graceful_termination_test.go

    	waitForAPIServerStarted(t, doer)
    
    	// act
    	if isChanClosed(s.lifecycleSignals.MuxAndDiscoveryComplete.Signaled(), 1*time.Second) {
    		t.Fatalf("%s is closed whereas the TestSignal is still open", s.lifecycleSignals.MuxAndDiscoveryComplete.Name())
    	}
    
    	close(testSignal1)
    	if isChanClosed(s.lifecycleSignals.MuxAndDiscoveryComplete.Signaled(), 1*time.Second) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/genericapiserver.go

    	go func() {
    		defer stopHTTPServer(errors.New("time to stop HTTP server"))
    
    		timeToStopHttpServerCh := notAcceptingNewRequestCh.Signaled()
    		if s.ShutdownSendRetryAfter {
    			timeToStopHttpServerCh = drainedCh.Signaled()
    		}
    
    		<-timeToStopHttpServerCh
    	}()
    
    	// Start the audit backend before any request comes in. This means we must call Backend.Run
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  4. src/net/http/httputil/persist.go

    }
    
    // Hijack detaches the [ServerConn] and returns the underlying connection as well
    // as the read-side bufio which may have some left over data. Hijack may be
    // called before Read has signaled the end of the keep-alive logic. The user
    // should not call Hijack while [ServerConn.Read] or [ServerConn.Write] is in progress.
    func (sc *ServerConn) Hijack() (net.Conn, *bufio.Reader) {
    	sc.mu.Lock()
    	defer sc.mu.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. src/os/pipe_test.go

    				t.Errorf("unexpected exec error type %T: %v", err, err)
    			} else if ws, ok := ee.Sys().(syscall.WaitStatus); !ok {
    				t.Errorf("unexpected wait status type %T: %v", ee.Sys(), ee.Sys())
    			} else if ws.Signaled() && ws.Signal() == syscall.SIGPIPE {
    				if sig || dest > 2 {
    					t.Errorf("unexpected SIGPIPE signal for descriptor %d sig %t", dest, sig)
    				}
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  6. src/runtime/sys_linux_mips64x.s

    	MOVV	$0(R29), R5
    	JMP	fallback
    
    finish:
    	MOVV	0(R29), R3	// sec
    	MOVV	8(R29), R5	// nsec
    
    	MOVV	R16, R29	// 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.
    	MOVV	16(R29), R1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 20:57:24 UTC 2022
    - 12K bytes
    - Viewed (0)
  7. src/syscall/syscall_bsd.go

    		return -1
    	}
    	return int(w >> shift)
    }
    
    func (w WaitStatus) Signaled() bool { return w&mask != stopped && w&mask != 0 }
    
    func (w WaitStatus) Signal() Signal {
    	sig := Signal(w & mask)
    	if sig == stopped || sig == 0 {
    		return -1
    	}
    	return sig
    }
    
    func (w WaitStatus) CoreDump() bool { return w.Signaled() && w&core != 0 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  8. 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)
  9. subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java

                }
                try {
                    while (!active.isEmpty()) {
                        boolean signaled = condition.awaitUntil(expiry);
                        if (!signaled) {
                            failures.add(new RuntimeException("Timeout waiting for threads to finish."));
                            break;
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  10. src/runtime/sys_linux_s390x.s

    nosaveg:
    	BL	R9					// to vdso lookup
    
    finish:
    	MOVD	0(R15), R3		// sec
    	MOVD	8(R15), R5		// nsec
    	MOVD	R7, R15			// 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	24(R15), R12
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top