Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,052 for signalfd (0.16 sec)

  1. src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh

    			buf[0] += a - A;
    		printf("\t%d: \"%s\",\n", e, buf);
    	}
    	printf("}\n\n");
    	
    	printf("\n\n// Signal table\n");
    	printf("var signals = [...]string {\n");
    	qsort(signals, nelem(signals), sizeof signals[0], intcmp);
    	for(i=0; i<nelem(signals); i++) {
    		e = signals[i];
    		if(i > 0 && signals[i-1] == e)
    			continue;
    		strcpy(buf, strsignal(e));
    		// lowercase first letter: Bad -> bad, but STREAM -> STREAM.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_context.go

    }
    
    // initializationSignalFrom returns an initialization signal function
    // which when called signals that watch initialization has already finished
    // to priority and fairness dispatcher.
    func initializationSignalFrom(ctx context.Context) (InitializationSignal, bool) {
    	signal, ok := ctx.Value(priorityAndFairnessInitializationSignalKey).(InitializationSignal)
    	return signal, ok && signal != nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 14 14:39:15 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testcshared/testdata/libgo5/libgo5.go

    package main
    
    import "C"
    
    import (
    	"os"
    	"os/signal"
    	"syscall"
    	"time"
    )
    
    // The channel used to read SIGIO signals.
    var sigioChan chan os.Signal
    
    // CatchSIGIO starts catching SIGIO signals.
    //
    //export CatchSIGIO
    func CatchSIGIO() {
    	sigioChan = make(chan os.Signal, 1)
    	signal.Notify(sigioChan, syscall.SIGIO)
    }
    
    // ResetSIGIO stops catching SIGIO signals.
    //
    //export ResetSIGIO
    func ResetSIGIO() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 986 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testcarchive/testdata/libgo3/libgo3.go

    package main
    
    import "C"
    
    import (
    	"os"
    	"os/signal"
    	"syscall"
    	"time"
    )
    
    // The channel used to read SIGIO signals.
    var sigioChan chan os.Signal
    
    // CatchSIGIO starts catching SIGIO signals.
    //
    //export CatchSIGIO
    func CatchSIGIO() {
    	sigioChan = make(chan os.Signal, 1)
    	signal.Notify(sigioChan, syscall.SIGIO)
    }
    
    // ResetSIGIO stops catching SIGIO signals.
    //
    //export ResetSIGIO
    func ResetSIGIO() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1020 bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/locklistener/DefaultFileLockContentionHandlerTest.groovy

        }
    
        def "client receives signal when lock is released"() {
            def signaled = new AtomicBoolean()
    
            when:
            int port = handler.reservePort()
            handler.start(10) { signal ->
                signal.trigger()
            }
    
            client.reservePort()
            client.start(11) {}
            client.maybePingOwner(port, 10, "lock 1", 50000) {
                signaled.set(true)
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testcarchive/testdata/main5.c

    			if (verbose) {
    				printf("attempting external signal test\n");
    			}
    
    			fprintf(stderr, "OK\n");
    			fflush(stderr);
    
    			// The program should be interrupted before
    			// this sleep finishes. We use select rather
    			// than sleep because in older versions of
    			// glibc the sleep function does some signal
    			// fiddling to handle SIGCHLD.  If this
    			// program is fiddling signals just when the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. 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)
  8. pkg/kubelet/eviction/api/types.go

    	OpLessThan ThresholdOperator = "LessThan"
    )
    
    // OpForSignal maps Signals to ThresholdOperators.
    // Today, the only supported operator is "LessThan". This may change in the future,
    // for example if "consumed" (as opposed to "available") type signals are added.
    // In both cases the directionality of the threshold is implicit to the signal type
    // (for a given signal, the decision to evict will be made when crossing the threshold
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. src/runtime/sigqueue_plan9.go

    	}
    }
    
    // signalWaitUntilIdle waits until the signal delivery mechanism is idle.
    // This is used to ensure that we do not drop a signal notification due
    // to a race between disabling a signal and receiving a signal.
    // This assumes that signal delivery has already been disabled for
    // the signal(s) in question, and here we are just waiting to make sure
    // that all the signals have been delivered to the user channels
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  10. src/syscall/mkerrors.sh

    			buf[0] += a - A;
    		printf("\t%d: \"%s\",\n", e, buf);
    	}
    	printf("}\n\n");
    	
    	printf("\n\n// Signal table\n");
    	printf("var signals = [...]string {\n");
    	qsort(signals, nelem(signals), sizeof signals[0], intcmp);
    	for(i=0; i<nelem(signals); i++) {
    		e = signals[i];
    		if(i > 0 && signals[i-1] == e)
    			continue;
    		strcpy(buf, strsignal(e));
    		// lowercase first letter: Bad -> bad, but STREAM -> STREAM.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 06 21:22:22 UTC 2022
    - 10.7K bytes
    - Viewed (0)
Back to top