Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 920 for SIGNAL (0.27 sec)

  1. src/os/signal/doc.go

    handler.
    
    Go code built with -buildmode=c-archive or -buildmode=c-shared will
    not install any other signal handlers by default. If there is an
    existing signal handler, the Go runtime will turn on the SA_ONSTACK
    flag and otherwise keep the signal handler. If Notify is called for an
    asynchronous signal, a Go signal handler will be installed for that
    signal. If, later, Reset is called for that signal, the original
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:11:00 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccessTest.groovy

            when:
            contendedAction.accept(signal)
    
            then:
            1 * lock.close()
            1 * signal.trigger()
            0 * _
        }
    
        def "releases retained lock at completion of action on contention"() {
            def action = Mock(Supplier)
            def lock = Mock(FileLock)
            def signal = Mock(FileLockReleasedSignal)
            Consumer contendedAction
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/cgo/internal/testcarchive/testdata/main_unix.c

    		return 2;
    	}
    	// gccgo does not set SA_ONSTACK for SIGSEGV.
    	if (getenv("GCCGO") == NULL && (osa.sa_flags&SA_ONSTACK) == 0) {
    		fprintf(stderr, "Go runtime did not install signal handler\n");
    		return 2;
    	}
    	oldHandler = osa.sa_sigaction;
    
    	return 0;
    }
    
    int check_handler() {
    	if (sigaction(SIGSEGV, NULL, &sa) < 0) {
    		perror("sigaction check");
    		return 2;
    	}
    	if (sa.sa_sigaction != handler) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. src/runtime/testdata/testprognet/signalexec.go

    // This is in testprognet instead of testprog because testprog
    // must not import anything (like net, but also like os/signal)
    // that kicks off background goroutines during init.
    
    package main
    
    import (
    	"fmt"
    	"os"
    	"os/exec"
    	"os/signal"
    	"sync"
    	"syscall"
    	"time"
    )
    
    func init() {
    	register("SignalDuringExec", SignalDuringExec)
    	register("Nop", Nop)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  6. src/syscall/zerrors_linux_386.go

    	SIGPROF   = Signal(0x1b)
    	SIGPWR    = Signal(0x1e)
    	SIGQUIT   = Signal(0x3)
    	SIGSEGV   = Signal(0xb)
    	SIGSTKFLT = Signal(0x10)
    	SIGSTOP   = Signal(0x13)
    	SIGSYS    = Signal(0x1f)
    	SIGTERM   = Signal(0xf)
    	SIGTRAP   = Signal(0x5)
    	SIGTSTP   = Signal(0x14)
    	SIGTTIN   = Signal(0x15)
    	SIGTTOU   = Signal(0x16)
    	SIGUNUSED = Signal(0x1f)
    	SIGURG    = Signal(0x17)
    	SIGUSR1   = Signal(0xa)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 19 16:12:50 UTC 2022
    - 57.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go

    	SIGFPE      = syscall.Signal(0x8)
    	SIGGRANT    = syscall.Signal(0x3c)
    	SIGHUP      = syscall.Signal(0x1)
    	SIGILL      = syscall.Signal(0x4)
    	SIGINT      = syscall.Signal(0x2)
    	SIGIO       = syscall.Signal(0x17)
    	SIGIOINT    = syscall.Signal(0x10)
    	SIGIOT      = syscall.Signal(0x6)
    	SIGKAP      = syscall.Signal(0x3c)
    	SIGKILL     = syscall.Signal(0x9)
    	SIGLOST     = syscall.Signal(0x6)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 52.7K bytes
    - Viewed (0)
  8. pkg/kubelet/eviction/helpers.go

    func parseGracePeriods(statements map[string]string) (map[evictionapi.Signal]time.Duration, error) {
    	if len(statements) == 0 {
    		return nil, nil
    	}
    	results := map[evictionapi.Signal]time.Duration{}
    	for signal, val := range statements {
    		signal := evictionapi.Signal(signal)
    		if !validSignal(signal) {
    			return nil, fmt.Errorf(unsupportedEvictionSignal, signal)
    		}
    		gracePeriod, err := time.ParseDuration(val)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  9. src/os/signal/signal_plan9_test.go

    // license that can be found in the LICENSE file.
    
    package signal
    
    import (
    	"internal/itoa"
    	"os"
    	"runtime"
    	"syscall"
    	"testing"
    	"time"
    )
    
    func waitSig(t *testing.T, c <-chan os.Signal, sig os.Signal) {
    	select {
    	case s := <-c:
    		if s != sig {
    			t.Fatalf("signal was %v, want %v", s, sig)
    		}
    	case <-time.After(1 * time.Second):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Mar 14 17:56:50 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testcarchive/testdata/libgo4/libgo4.go

    package main
    
    /*
    #include <signal.h>
    #include <pthread.h>
    
    // Raise SIGIO.
    static void CRaiseSIGIO(pthread_t* p) {
    	pthread_kill(*p, SIGIO);
    }
    */
    import "C"
    
    import (
    	"os"
    	"os/signal"
    	"sync/atomic"
    	"syscall"
    )
    
    var sigioCount int32
    
    // Catch SIGIO.
    //
    //export GoCatchSIGIO
    func GoCatchSIGIO() {
    	c := make(chan os.Signal, 1)
    	signal.Notify(c, syscall.SIGIO)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 854 bytes
    - Viewed (0)
Back to top