Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 88 for Signalfd (0.27 sec)

  1. src/runtime/vdso_test.go

    	out, err := cmd.CombinedOutput()
    	if len(out) > 0 {
    		t.Logf("%s", out)
    	}
    	if err != nil {
    		if err := err.(*exec.ExitError); err != nil && err.Sys().(syscall.WaitStatus).Signaled() {
    			if !bytes.Contains(out, []byte("+++ killed by")) {
    				// strace itself occasionally crashes.
    				// Here, it exited with a signal, but
    				// the strace log didn't report any
    				// signal from the child process.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:47:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/internal/fuzz/sys_posix.go

    	exitErr, ok := err.(*exec.ExitError)
    	if !ok || exitErr.ExitCode() >= 0 {
    		return syscall.Signal(-1), false
    	}
    	status := exitErr.Sys().(syscall.WaitStatus)
    	return status.Signal(), status.Signaled()
    }
    
    // isCrashSignal returns whether a signal was likely to have been caused by an
    // error in the program that received it, triggered by a fuzz input. For
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 12 19:47:40 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  3. src/syscall/exec_pdeathsig_test.go

    	signal.Notify(c, syscall.SIGUSR1)
    	go func() {
    		<-c
    		fmt.Println("ok")
    		os.Exit(0)
    	}()
    	fmt.Println("start")
    
    	buf := make([]byte, 32)
    	os.Stdin.Read(buf)
    
    	// We expected to be signaled before stdin closed
    	fmt.Println("not ok")
    	os.Exit(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 21:23:17 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. 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)
  5. src/runtime/signal_ppc64x.go

    	// MinFrameSize (32) bytes.
    	*(*uint64)(unsafe.Pointer(uintptr(sp) + 8)) = c.r2()
    	*(*uint64)(unsafe.Pointer(uintptr(sp) + 16)) = c.r12()
    	// Set up PC and LR to pretend the function being signaled
    	// calls targetPC at resumePC.
    	c.set_link(uint64(resumePC))
    	c.set_r12(uint64(targetPC))
    	c.set_pc(uint64(targetPC))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 15:08:04 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

      // TODO: Test hasQueuedThreads().
      // TODO: Test getWaitQueueLength(Guard).
      // TODO: Test automatic signaling before leave, waitFor, and reentrant enterWhen.
      // TODO: Test blocking to re-enter monitor after being signaled.
      // TODO: Test interrupts with both interruptible and uninterruptible monitor.
      // TODO: Test multiple waiters: If guard is still satisfied, signal next waiter.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. pkg/queue/instance.go

    type baseInstance interface {
    	// Push a task.
    	Push(task Task)
    	// Run the loop until a signal on the channel
    	Run(<-chan struct{})
    	// Closed returns a chan that will be signaled when the Instance has stopped processing tasks.
    	Closed() <-chan struct{}
    }
    
    type Instance interface {
    	baseInstance
    	// HasSynced returns true once the queue has synced.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 21 16:30:36 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. src/runtime/signal_arm64.go

    	// This is not actually used for unwinding.
    	*(*uint64)(unsafe.Pointer(uintptr(sp - goarch.PtrSize))) = c.r29()
    	// Set up PC and LR to pretend the function being signaled
    	// calls targetPC at resumePC.
    	c.set_lr(uint64(resumePC))
    	c.set_pc(uint64(targetPC))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 05 18:16:00 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top