Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 506 for signalM (0.32 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/filters/watch_termination.go

    			// When apiserver is shutting down, signal clients to retry
    			// There is a good chance the client hit a different server, so a tight retry is good for client responsiveness.
    			waitGroupWriteRetryAfterToResponse(w)
    			return
    		}
    
    		// attach ServerShutdownSignal to the watch request so that the
    		// watch handler loop can return as soon as the server signals
    		// that it is shutting down.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 15:49:49 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_ops.td

    }
    
    def AwaitAllControlOp: Mlrt_Op<"await_all_control", []> {
      let summary = "Awaits multiple signals";
    
      let description = [{
        Awaits multiple signals
    
        $futures: A list of !mlrt.futures
      }];
    
      let arguments = (ins
        Variadic<MlrtFutureType>:$futures
      );
    
      let assemblyFormat = "operands attr-dict `:` type($futures)";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. src/sync/cond_test.go

    	}
    	for n > 0 {
    		select {
    		case <-awake:
    			t.Fatal("goroutine not asleep")
    		default:
    		}
    		m.Lock()
    		c.Signal()
    		m.Unlock()
    		<-awake // Will deadlock if no goroutine wakes up
    		select {
    		case <-awake:
    			t.Fatal("too many goroutines awake")
    		default:
    		}
    		n--
    	}
    	c.Signal()
    }
    
    func TestCondSignalGenerations(t *testing.T) {
    	var m Mutex
    	c := NewCond(&m)
    	n := 100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 22 18:52:42 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/filters/mux_discovery_complete.go

    // Without the protection key a request could still get a 404 response when the registered signals changed their status just slightly before reaching the new handler.
    // In that case, the presence of the key will make the handler return a 503 instead of a 404.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 21 13:25:33 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  5. src/syscall/syscall_wasip1.go

    	return e == EINTR || e == EMFILE || e.Timeout()
    }
    
    func (e Errno) Timeout() bool {
    	return e == EAGAIN || e == ETIMEDOUT
    }
    
    // A Signal is a number describing a process signal.
    // It implements the [os.Signal] interface.
    type Signal uint8
    
    const (
    	SIGNONE Signal = iota
    	SIGHUP
    	SIGINT
    	SIGQUIT
    	SIGILL
    	SIGTRAP
    	SIGABRT
    	SIGBUS
    	SIGFPE
    	SIGKILL
    	SIGUSR1
    	SIGSEGV
    	SIGUSR2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. src/syscall/types_netbsd.go

    /*
    #define KERNEL
    #include <dirent.h>
    #include <fcntl.h>
    #include <signal.h>
    #include <termios.h>
    #include <stdio.h>
    #include <unistd.h>
    #include <sys/param.h>
    #include <sys/types.h>
    #include <sys/event.h>
    #include <sys/mman.h>
    #include <sys/mount.h>
    #include <sys/ptrace.h>
    #include <sys/resource.h>
    #include <sys/select.h>
    #include <sys/signal.h>
    #include <sys/socket.h>
    #include <sys/stat.h>
    #include <sys/sysctl.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/request/server_shutdown_signal.go

    const serverShutdownSignalKey serverShutdownSignalKeyType = iota
    
    // ServerShutdownSignal is associated with the request context so
    // the request handler logic has access to signals rlated to
    // the server shutdown events
    type ServerShutdownSignal interface {
    	// Signaled when the apiserver is not receiving any new request
    	ShuttingDown() <-chan struct{}
    }
    
    // ServerShutdownSignalFrom returns the ServerShutdownSignal instance
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 15:49:30 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. pkg/queue/instance.go

    }
    
    // Instance of work tickets processed using a rate-limiting loop
    type baseInstance interface {
    	// Push a task.
    	Push(task Task)
    	// Run the loop until a signal on the channel
    	Run(<-chan struct{})
    	// Closed returns a chan that will be signaled when the Instance has stopped processing tasks.
    	Closed() <-chan struct{}
    }
    
    type Instance interface {
    	baseInstance
    	// HasSynced returns true once the queue has synced.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 21 16:30:36 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. src/cmd/test2json/main.go

    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go tool test2json [-p pkg] [-t] [./pkg.test -test.v]\n")
    	os.Exit(2)
    }
    
    // ignoreSignals ignore the interrupt signals.
    func ignoreSignals() {
    	signal.Ignore(signalsToIgnore...)
    }
    
    func main() {
    	telemetry.Start()
    
    	flag.Usage = usage
    	flag.Parse()
    	telemetry.Inc("test2json/invocations")
    	telemetry.CountFlags("test2json/flag:", *flag.CommandLine)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. src/runtime/vdso_test.go

    		t.Logf("%s", out)
    	}
    	if err != nil {
    		if err := err.(*exec.ExitError); err != nil && err.Sys().(syscall.WaitStatus).Signaled() {
    			if !bytes.Contains(out, []byte("+++ killed by")) {
    				// strace itself occasionally crashes.
    				// Here, it exited with a signal, but
    				// the strace log didn't report any
    				// signal from the child process.
    				t.Log(err)
    				testenv.SkipFlaky(t, 63734)
    			}
    		}
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:47:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top