Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 709 for signalfd (0.23 sec)

  1. src/os/pipe_test.go

    			} 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 {
    				t.Errorf("unexpected exit status %v for descriptor %d sig %t", err, dest, sig)
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  2. src/runtime/sys_linux_loong64.s

    	MOVV	8(R3), R5	// nsec
    
    	MOVV	R23, R3	// 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(R3), R25
    	MOVV	R25, m_vdsoSP(R24)
    	MOVV	8(R3), R25
    	MOVV	R25, m_vdsoPC(R24)
    
    	MOVV	R7, sec+0(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 20:58:13 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  3. src/syscall/zerrors_solaris_amd64.go

    	SIGIO      = Signal(0x16)
    	SIGIOT     = Signal(0x6)
    	SIGJVM1    = Signal(0x27)
    	SIGJVM2    = Signal(0x28)
    	SIGKILL    = Signal(0x9)
    	SIGLOST    = Signal(0x25)
    	SIGLWP     = Signal(0x21)
    	SIGPIPE    = Signal(0xd)
    	SIGPOLL    = Signal(0x16)
    	SIGPROF    = Signal(0x1d)
    	SIGPWR     = Signal(0x13)
    	SIGQUIT    = Signal(0x3)
    	SIGSEGV    = Signal(0xb)
    	SIGSTOP    = Signal(0x17)
    	SIGSYS     = Signal(0xc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
  4. src/syscall/syscall_solaris.go

    }
    
    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 }
    
    func (w WaitStatus) Stopped() bool { return w&mask == stopped && Signal(w>>shift) != SIGSTOP }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. src/syscall/types_windows.go

    )
    
    const (
    	// More invented values for signals
    	SIGHUP  = Signal(0x1)
    	SIGINT  = Signal(0x2)
    	SIGQUIT = Signal(0x3)
    	SIGILL  = Signal(0x4)
    	SIGTRAP = Signal(0x5)
    	SIGABRT = Signal(0x6)
    	SIGBUS  = Signal(0x7)
    	SIGFPE  = Signal(0x8)
    	SIGKILL = Signal(0x9)
    	SIGSEGV = Signal(0xb)
    	SIGPIPE = Signal(0xd)
    	SIGALRM = Signal(0xe)
    	SIGTERM = Signal(0xf)
    )
    
    var signals = [...]string{
    	1:  "hangup",
    	2:  "interrupt",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. src/runtime/os_darwin.go

    // because the functions pthread_mutex_lock, pthread_cond_signal, and
    // pthread_mutex_unlock, called by semawakeup, are not async-signal-safe.
    // There is only one case where we need to wake up a note from a signal
    // handler: the sigsend function. The signal handler code does not require
    // all the features of notes: it does not need to do a timed wait.
    // This is a separate implementation of notes, based on a pipe, that does
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  7. src/syscall/syscall_unix.go

    		return errENOENT
    	}
    	return e
    }
    
    // A Signal is a number describing a process signal.
    // It implements the [os.Signal] interface.
    type Signal int
    
    func (s Signal) Signal() {}
    
    func (s Signal) String() string {
    	if 0 <= s && int(s) < len(signals) {
    		str := signals[s]
    		if str != "" {
    			return str
    		}
    	}
    	return "signal " + itoa.Itoa(int(s))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 16:19:26 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/cgo/internal/testcarchive/carchive_test.go

    			continue
    		}
    
    		// If the signal is delivered to a C thread, as expected,
    		// the Go signal handler will disable itself and re-raise
    		// the signal, causing the program to die with SIGSEGV.
    		//
    		// It is also possible that the signal will be
    		// delivered to a Go thread, such as a GC thread.
    		// Currently when the Go runtime sees that a SIGSEGV was
    		// sent from a different program, it first tries to send
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  10. pkg/kube/controllers/queue.go

    }
    
    // Closed returns a chan that will be signaled when the Instance has stopped processing tasks.
    func (q Queue) Closed() <-chan struct{} {
    	return q.closed
    }
    
    // processNextItem is the main workFn loop for the queue
    func (q Queue) processNextItem() bool {
    	// Wait until there is a new item in the working queue
    	key, quit := q.queue.Get()
    	if quit {
    		// We are done, signal to exit the queue
    		return false
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top