Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,052 for signalfd (0.24 sec)

  1. src/runtime/sys_libc.go

    		// first call on an M, until that libcCall instance
    		// returns.  Reentrance only matters for signals, as
    		// libc never calls back into Go.  The tricky case is
    		// where we call libcX from an M and record g/pc/sp.
    		// Before that call returns, a signal arrives on the
    		// same M and the signal handling code calls another
    		// libc function.  We don't want that second libcCall
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  2. src/runtime/cgo_sigaction.go

    			// We're no longer on g's stack, so we must be handling a signal.  It's
    			// possible that we interrupted the thread during a transition between g
    			// and g0, so we should stay on the current stack to avoid corrupting g0.
    			ret = callCgoSigaction(uintptr(sig), new, old)
    		default:
    			// We're running on g's stack, so either we're not in a signal handler or
    			// the signal handler has set the correct g.  If we're on gsignal or g0,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  3. src/internal/fuzz/sys_windows.go

    	return false
    }
    
    // terminationSignal returns -1 and false because Windows doesn't have signals.
    func terminationSignal(err error) (os.Signal, bool) {
    	return syscall.Signal(-1), false
    }
    
    // isCrashSignal is not implemented because Windows doesn't have signals.
    func isCrashSignal(signal os.Signal) bool {
    	panic("not implemented: no signals on windows")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:35:25 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. src/runtime/crash_unix_test.go

    			t.Errorf("pipe write failed: %d", n)
    		}
    	})
    	defer timer.Stop()
    
    	wg.Wait()
    	if got == -1 {
    		t.Fatal("signalM signal not received")
    	} else if want != got {
    		t.Fatalf("signal sent to M %d, but received on M %d", want, got)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 20:11:47 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. src/runtime/os_netbsd.go

    // created thread. On NetBSD, a new thread inherits the signal stack
    // of the creating thread. That confuses minit, so we remove that
    // signal stack here before calling the regular mstart. It's a bit
    // baroque to remove a signal stack here only to add one in minit, but
    // it's a simple change that keeps NetBSD working like other OS's.
    // At this point all signals are blocked, so there is no race.
    //
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_fuzz_non_crash_signal.txt

    # FuzzKill sends itself a signal that cannot be caught by the worker process
    # and does not appear to be a crash.
    # We should not save a crasher.
    ! go test -fuzz=FuzzKill
    ! exists testdata
    ! stdout unreachable
    ! stderr unreachable
    stdout 'fuzzing process terminated by unexpected signal; no crash will be recorded: signal: killed'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. 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 {
    			res += " (trap " + itoa.Itoa(status.TrapCause()) + ")"
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. src/runtime/testdata/testprogcgo/exec.go

    //go:build !plan9 && !windows
    // +build !plan9,!windows
    
    package main
    
    /*
    #include <stddef.h>
    #include <signal.h>
    #include <pthread.h>
    
    // Save the signal mask at startup so that we see what it is before
    // the Go runtime starts setting up signals.
    
    static sigset_t mask;
    
    static void init(void) __attribute__ ((constructor));
    
    static void init() {
    	sigemptyset(&mask);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  9. src/runtime/time_linux_amd64.s

    	MOVQ	R12, 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.
    	MOVQ	8(SP), SI
    	MOVQ	SI, m_vdsoSP(BX)
    	MOVQ	0(SP), SI
    	MOVQ	SI, m_vdsoPC(BX)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 2K bytes
    - Viewed (0)
  10. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/notify/BuildOperationNotificationListener.java

    import org.gradle.internal.scan.UsedByScanPlugin;
    
    /**
     * A listener to notifications about build events.
     *
     * Implementations are thread safe and can be signalled concurrently.
     * However, a finished signal must not be emitted before the signal of the
     * corresponding started event has returned.
     *
     * Implementations may retain the notification values beyond the method that passed them.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 14:19:43 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top