Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 459 for signalM (0.16 sec)

  1. src/runtime/os_aix.go

    		exit(1)
    	}
    
    	if pthread_attr_setdetachstate(&attr, _PTHREAD_CREATE_DETACHED) != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    	// Disable signals during create, so that the new thread starts
    	// with signals disabled. It will enable them in minit.
    	sigprocmask(_SIG_SETMASK, &sigset_all, &oset)
    	var ret int32
    	for tries := 0; tries < 20; tries++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.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. src/runtime/os_wasm.go

    // Called from exitm, but not from drop, to undo the effect of thread-owned
    // resources in minit, semacreate, or elsewhere. Do not take locks after calling this.
    func mdestroy(mp *m) {
    }
    
    // wasm has no signals
    const _NSIG = 0
    
    func signame(sig uint32) string {
    	return ""
    }
    
    func crash() {
    	*(*int32)(nil) = 0
    }
    
    func initsig(preinit bool) {
    }
    
    // May run with m.p==nil, so write barriers are not allowed.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K 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. 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)
  8. 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)
  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/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)
Back to top