Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,122 for signalM (0.15 sec)

  1. 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)
  2. src/runtime/sys_linux_arm64.s

    	// Store g on gsignal's stack, so if we receive a signal
    	// during VDSO code we can find the g.
    	// If we don't have a signal stack, we won't receive signal,
    	// so don't bother saving g.
    	// When using cgo, we already saved g on TLS, also don't save
    	// g here.
    	// Also don't save g if we are already on the signal stack.
    	// We won't get a nested signal.
    	MOVBU	runtime·iscgo(SB), R22
    	CBNZ	R22, nosaveg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  3. src/runtime/os_plan9.go

    		n = n*10 + int(b[0]) - '0'
    		b = b[1:]
    	}
    	return n
    }
    
    func signame(sig uint32) string {
    	if sig >= uint32(len(sigtable)) {
    		return ""
    	}
    	return sigtable[sig].name
    }
    
    const preemptMSupported = false
    
    func preemptM(mp *m) {
    	// Not currently supported.
    	//
    	// TODO: Use a note like we use signals on POSIX OSes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. 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)
  5. src/os/exec_test.go

    	signal.Notify(c, os.Interrupt)
    	defer signal.Stop(c)
    
    	p := &os.Process{Pid: os.Getpid()}
    	if err := p.Signal(os.Interrupt); err != nil {
    		t.Fatalf("Signal got err %v, want nil", err)
    	}
    
    	// Verify we actually received the signal.
    	select {
    	case <-time.After(1 * time.Second):
    		t.Error("timeout waiting for signal")
    	case <-c:
    		// Good
    	}
    }
    
    func TestProcessReleaseTwice(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/runtime/signal_solaris.go

    	/* 56 */ {_SigNotify, "real time signal"},
    	/* 57 */ {_SigNotify, "real time signal"},
    	/* 58 */ {_SigNotify, "real time signal"},
    	/* 59 */ {_SigNotify, "real time signal"},
    	/* 60 */ {_SigNotify, "real time signal"},
    	/* 61 */ {_SigNotify, "real time signal"},
    	/* 62 */ {_SigNotify, "real time signal"},
    	/* 63 */ {_SigNotify, "real time signal"},
    	/* 64 */ {_SigNotify, "real time signal"},
    	/* 65 */ {_SigNotify, "real time signal"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 20:27:15 UTC 2019
    - 4.5K bytes
    - Viewed (0)
  7. src/runtime/sys_linux_s390x.s

    	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
    	MOVD	R12, m_vdsoSP(R6)
    	MOVD	16(R15), R12
    	MOVD	R12, m_vdsoPC(R6)
    
    return:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  8. src/os/signal/signal_linux_test.go

    // license that can be found in the LICENSE file.
    
    //go:build linux
    
    package signal
    
    import (
    	"os"
    	"syscall"
    	"testing"
    	"time"
    )
    
    const prSetKeepCaps = 8
    
    // This test validates that syscall.AllThreadsSyscall() can reliably
    // reach all 'm' (threads) of the nocgo runtime even when one thread
    // is blocked waiting to receive signals from the kernel. This monitors
    // for a regression vs. the fix for #43149.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/ExponentialBackoff.java

        }
    
        public static <T extends Signal> ExponentialBackoff<T> of(int amount, TimeUnit unit, T signal) {
            return new ExponentialBackoff<T>((int) TimeUnit.MILLISECONDS.convert(amount, unit), signal, SLOT_TIME);
        }
    
        public static ExponentialBackoff<Signal> of(int amount, TimeUnit unit, int slotTime, TimeUnit slotTimeUnit) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:49:35 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/runtime/testdata/testprogcgo/eintr.go

    		}
    	}
    	return r1, r2
    }
    
    // winch sends a few SIGWINCH signals to the process.
    func winch() {
    	ticker := time.NewTicker(100 * time.Microsecond)
    	defer ticker.Stop()
    	pid := syscall.Getpid()
    	for n := 10; n > 0; n-- {
    		syscall.Kill(pid, syscall.SIGWINCH)
    		<-ticker.C
    	}
    }
    
    // sendSomeSignals triggers a few SIGURG and SIGWINCH signals.
    func sendSomeSignals() {
    	done := make(chan struct{})
    	go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 5.2K bytes
    - Viewed (0)
Back to top