Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,122 for signalM (0.14 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 (1)
  2. src/cmd/cgo/internal/testsanitizers/testdata/tsan10.go

    */
    import "C"
    
    func main() {
    	c := make(chan os.Signal, 1)
    	signal.Notify(c, syscall.SIGUSR1)
    	defer signal.Stop(c)
    	syscall.Kill(syscall.Getpid(), syscall.SIGUSR1)
    	<-c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 798 bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    	}
    	printf("}\n\n");
    
    	printf("\n\n// Signal table\n");
    	printf("var signalList = [...]struct {\n");
    	printf("\tnum  syscall.Signal\n");
    	printf("\tname string\n");
    	printf("\tdesc string\n");
    	printf("} {\n");
    	qsort(signals, nelem(signals), sizeof signals[0], tuplecmp);
    	for(i=0; i<nelem(signals); i++) {
    		e = signals[i].num;
    		if(i > 0 && signals[i-1].num == e)
    			continue;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  4. 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)
  5. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_graceful_termination_test.go

    	// an asynchronous process.
    	signals.AfterShutdownDelayDuration = wrapLifecycleSignal(t, signals.AfterShutdownDelayDuration, before, nil)
    	signals.PreShutdownHooksStopped = wrapLifecycleSignal(t, signals.PreShutdownHooksStopped, before, nil)
    	signals.NotAcceptingNewRequest = wrapLifecycleSignal(t, signals.NotAcceptingNewRequest, before, nil)
    	signals.HTTPServerStoppedListening = wrapLifecycleSignal(t, signals.HTTPServerStoppedListening, before, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  6. src/internal/fuzz/sys_posix.go

    // If not, -1 and false.
    func terminationSignal(err error) (os.Signal, bool) {
    	exitErr, ok := err.(*exec.ExitError)
    	if !ok || exitErr.ExitCode() >= 0 {
    		return syscall.Signal(-1), false
    	}
    	status := exitErr.Sys().(syscall.WaitStatus)
    	return status.Signal(), status.Signaled()
    }
    
    // isCrashSignal returns whether a signal was likely to have been caused by an
    // error in the program that received it, triggered by a fuzz input. For
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 12 19:47:40 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testsanitizers/testdata/tsan11.go

    // This program hung when run under the C/C++ ThreadSanitizer. TSAN defers
    // asynchronous signals until the signaled thread calls into libc. The runtime's
    // sysmon goroutine idles itself using direct usleep syscalls, so it could
    // run for an arbitrarily long time without triggering the libc interceptors.
    // See https://golang.org/issue/18717.
    
    import (
    	"os"
    	"os/signal"
    	"syscall"
    )
    
    /*
    #cgo CFLAGS: -g -fsanitize=thread
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. src/runtime/testdata/testwinsignal/main.go

    import (
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"os/signal"
    	"syscall"
    	"time"
    )
    
    func main() {
    	// Ensure that this process terminates when the test times out,
    	// even if the expected signal never arrives.
    	go func() {
    		io.Copy(io.Discard, os.Stdin)
    		log.Fatal("stdin is closed; terminating")
    	}()
    
    	// Register to receive all signals.
    	c := make(chan os.Signal, 1)
    	signal.Notify(c)
    
    	// Get console window handle.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 07:37:53 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  9. src/runtime/cgo_sigaction.go

    			// possible that we interrupted the thread during a transition between g
    			// and g0, so we should stay on the current stack to avoid corrupting g0.
    			ret = callCgoSigaction(uintptr(sig), new, old)
    		default:
    			// We're running on g's stack, so either we're not in a signal handler or
    			// the signal handler has set the correct g.  If we're on gsignal or g0,
    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. staging/src/k8s.io/apiserver/pkg/server/lifecycle_signals.go

    type lifecycleSignal interface {
    	// Signal signals the event, indicating that the event has occurred.
    	// Signal is idempotent, once signaled the event stays signaled and
    	// it immediately unblocks any goroutine waiting for this event.
    	Signal()
    
    	// Signaled returns a channel that is closed when the underlying event
    	// has been signaled. Successive calls to Signaled return the same value.
    	Signaled() <-chan struct{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 15:49:30 UTC 2023
    - 7.8K bytes
    - Viewed (0)
Back to top