Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 506 for signalM (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/runtime/sigtab_linux_mipsx.go

    	/*  40 */ {_SigNotify, "signal 40"},
    	/*  41 */ {_SigNotify, "signal 41"},
    	/*  42 */ {_SigNotify, "signal 42"},
    	/*  43 */ {_SigNotify, "signal 43"},
    	/*  44 */ {_SigNotify, "signal 44"},
    	/*  45 */ {_SigNotify, "signal 45"},
    	/*  46 */ {_SigNotify, "signal 46"},
    	/*  47 */ {_SigNotify, "signal 47"},
    	/*  48 */ {_SigNotify, "signal 48"},
    	/*  49 */ {_SigNotify, "signal 49"},
    	/*  50 */ {_SigNotify, "signal 50"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6K bytes
    - Viewed (0)
  6. 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)
  7. src/runtime/sigtab_linux_generic.go

    	/* 40 */ {_SigNotify, "signal 40"},
    	/* 41 */ {_SigNotify, "signal 41"},
    	/* 42 */ {_SigNotify, "signal 42"},
    	/* 43 */ {_SigNotify, "signal 43"},
    	/* 44 */ {_SigNotify, "signal 44"},
    	/* 45 */ {_SigNotify, "signal 45"},
    	/* 46 */ {_SigNotify, "signal 46"},
    	/* 47 */ {_SigNotify, "signal 47"},
    	/* 48 */ {_SigNotify, "signal 48"},
    	/* 49 */ {_SigNotify, "signal 49"},
    	/* 50 */ {_SigNotify, "signal 50"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  8. src/runtime/runtime-gdb_unix_test.go

    	if err != nil {
    		t.Fatalf("gdb exited with error: %v", err)
    	}
    
    	// We don't know which thread the fatal signal will land on, but we can still check for basics:
    	//
    	// 1. A frame in the signal handler: runtime.sigtramp
    	// 2. GDB detection of the signal handler: <signal handler called>
    	// 3. A frame before the signal handler: this could be foo, or somewhere in the scheduler
    
    	re := regexp.MustCompile(`#.* runtime\.sigtramp `)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:05:30 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/sigchanyzer/doc.go

    // misuse of unbuffered signal as argument to signal.Notify.
    //
    // # Analyzer sigchanyzer
    //
    // sigchanyzer: check for unbuffered channel of os.Signal
    //
    // This checker reports call expression of the form
    //
    //	signal.Notify(c <-chan os.Signal, sig ...os.Signal),
    //
    // where c is an unbuffered channel, which can be at risk of missing the signal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 585 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testcarchive/testdata/main_unix.c

    		return 2;
    	}
    	// gccgo does not set SA_ONSTACK for SIGSEGV.
    	if (getenv("GCCGO") == NULL && (osa.sa_flags&SA_ONSTACK) == 0) {
    		fprintf(stderr, "Go runtime did not install signal handler\n");
    		return 2;
    	}
    	oldHandler = osa.sa_sigaction;
    
    	return 0;
    }
    
    int check_handler() {
    	if (sigaction(SIGSEGV, NULL, &sa) < 0) {
    		perror("sigaction check");
    		return 2;
    	}
    	if (sa.sa_sigaction != handler) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top