Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 460 for signalfd (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  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 {
    			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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top