Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for unblocksig (1 sec)

  1. src/runtime/signal_unix.go

    	sigprocmask(_SIG_SETMASK, &sigset_all, nil)
    }
    
    // unblocksig removes sig from the current thread's signal mask.
    // This is nosplit and nowritebarrierrec because it is called from
    // dieFromSignal, which can be called by sigfwdgo while running in the
    // signal handler, on the signal stack, with no g available.
    //
    //go:nosplit
    //go:nowritebarrierrec
    func unblocksig(sig uint32) {
    	var set sigset
    	sigaddset(&set, int(sig))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  2. pkg/kubelet/container/testing/fake_runtime.go

    	f.Unlock()
    	select {
    	case <-ctx.Done():
    	case <-f.imagePullTokenBucket:
    	}
    	return image.Image, retErr
    }
    
    // UnblockImagePulls unblocks a certain number of image pulls, if BlockImagePulls is true.
    func (f *FakeRuntime) UnblockImagePulls(count int) {
    	if f.imagePullTokenBucket != nil {
    		for i := 0; i < count; i++ {
    			select {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 00:23:50 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. src/cmd/trace/gstate.go

    	name := gs.baseName
    	if gs.label != "" {
    		name += " (" + gs.label + ")"
    	}
    	return name
    }
    
    // setStartCause sets the reason a goroutine will be allowed to start soon.
    // For example, via unblocking or exiting a blocked syscall.
    func (gs *gState[R]) setStartCause(ts trace.Time, name string, resource uint64, stack trace.Stack) {
    	gs.startCause.time = ts
    	gs.startCause.name = name
    	gs.startCause.resource = resource
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. pkg/controller/resourcequota/resource_quota_monitor.go

    	// After that it is safe to start them here, before that it is not.
    	informersStarted <-chan struct{}
    
    	// stopCh drives shutdown. When a reception from it unblocks, monitors will shut down.
    	// This channel is also protected by monitorLock.
    	stopCh <-chan struct{}
    
    	// running tracks whether Run() has been called.
    	// it is protected by monitorLock.
    	running bool
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. internal/grid/muxclient.go

    	if requests == nil {
    		go m.handleOneWayStream(responseCh, responses)
    		return &Stream{responses: responseCh, Requests: nil, ctx: m.ctx, cancel: m.cancelFn, muxID: m.MuxID}, nil
    	}
    
    	// Deliver responses and send unblocks back to the server.
    	go m.handleTwowayResponses(responseCh, responses)
    	go m.handleTwowayRequests(responses, requests)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  6. src/internal/trace/trace_test.go

    func TestTraceFutileWakeup(t *testing.T) {
    	testTraceProg(t, "futile-wakeup.go", func(t *testing.T, tb, _ []byte, _ bool) {
    		// Check to make sure that no goroutine in the "special" trace region
    		// ends up blocking, unblocking, then immediately blocking again.
    		//
    		// The goroutines are careful to call runtime.Gosched in between blocking,
    		// so there should never be a clean block/unblock on the goroutine unless
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc

      TF_SavedModel* saved_model =
          TF_LoadSavedModelWithTags(model_dir.c_str(), ctx, kServeTag, 1, status);
    
      // TODO(bmzhao): Change this to expect TF_OK when loading is implemented.
      // That unblocks writing other tests that require a TF_SavedModel*,
      // like loading a ConcreteFunction. This test at least checks that the
      // C API builds and can be minimally run.
      EXPECT_EQ(TF_GetCode(status), TF_UNIMPLEMENTED);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 08:08:45 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  8. src/os/signal/doc.go

    code, the handler generally forwards the signal to the non-Go code, as
    follows. If the signal is SIGPROF, the Go handler does
    nothing. Otherwise, the Go handler removes itself, unblocks the
    signal, and raises it again, to invoke any non-Go handler or default
    system handler. If the program does not exit, the Go handler then
    reinstalls itself and continues execution of the program.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:11:00 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. src/internal/poll/fd_unix.go

    // destroy method when there are no remaining references.
    func (fd *FD) Close() error {
    	if !fd.fdmu.increfAndClose() {
    		return errClosing(fd.isFile)
    	}
    
    	// Unblock any I/O.  Once it all unblocks and returns,
    	// so that it cannot be referring to fd.sysfd anymore,
    	// the final decref will close fd.sysfd. This should happen
    	// fairly quickly, since all the I/O is non-blocking, and any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 04:09:44 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. internal/grid/connection.go

    		}
    		// We can expect to receive unblocks for closed muxes
    		return
    	}
    	v.unblockSend(m.Seq)
    }
    
    func (c *Connection) handleUnblockSrvMux(m message) {
    	if m.Payload != nil {
    		PutByteBuffer(m.Payload)
    	}
    	m.Payload = nil
    	if v, ok := c.inStream.Load(m.MuxID); ok {
    		v.unblockSend(m.Seq)
    		return
    	}
    	// We can expect to receive unblocks for closed muxes
    	if debugPrint {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top