Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 386 for signalM (0.29 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. cmd/service.go

    package cmd
    
    import (
    	"context"
    	"os"
    	"os/exec"
    	"runtime"
    	"syscall"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    )
    
    // Type of service signals currently supported.
    type serviceSignal int
    
    const (
    	serviceRestart       serviceSignal = iota // Restarts the server.
    	serviceStop                               // Stops the server.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/runtime/os3_plan9.go

    	"internal/goarch"
    	"internal/stringslite"
    	"unsafe"
    )
    
    // May run during STW, so write barriers are not allowed.
    //
    //go:nowritebarrierrec
    func sighandler(_ureg *ureg, note *byte, gp *g) int {
    	gsignal := getg()
    	mp := gsignal.m
    
    	var t sigTabT
    	var docrash bool
    	var sig int
    	var flags int
    	var level int32
    
    	c := &sigctxt{_ureg}
    	notestr := gostringnocopy(note)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

      // TODO: Test blocking to re-enter monitor after being signaled.
      // TODO: Test interrupts with both interruptible and uninterruptible monitor.
      // TODO: Test multiple waiters: If guard is still satisfied, signal next waiter.
      // TODO: Test multiple waiters: If guard is no longer satisfied, do not signal next waiter.
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. pkg/kube/controllers/queue.go

    }
    
    // Closed returns a chan that will be signaled when the Instance has stopped processing tasks.
    func (q Queue) Closed() <-chan struct{} {
    	return q.closed
    }
    
    // processNextItem is the main workFn loop for the queue
    func (q Queue) processNextItem() bool {
    	// Wait until there is a new item in the working queue
    	key, quit := q.queue.Get()
    	if quit {
    		// We are done, signal to exit the queue
    		return false
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  10. src/context/example_test.go

    	_, err = readFromConn(ctx, conn, b)
    	fmt.Println(err)
    
    	// Output:
    	// context deadline exceeded
    }
    
    // This example uses AfterFunc to define a function which combines
    // the cancellation signals of two Contexts.
    func ExampleAfterFunc_merge() {
    	// mergeCancel returns a context that contains the values of ctx,
    	// and which is canceled when either ctx or cancelCtx is canceled.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 20:24:28 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top