Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 48 for unblocksig (0.27 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. operator/pkg/helmreconciler/reconciler.go

    			}
    
    			mu.Lock()
    			setStatus(componentStatus, c, status, err)
    			mu.Unlock()
    
    			// Signal all the components that depend on us.
    			for _, ch := range ComponentDependencies[c] {
    				scope.Infof("Unblocking dependency %s.", ch)
    				h.dependencyWaitCh[ch] <- struct{}{}
    			}
    		}()
    	}
    	wg.Wait()
    
    	metrics.ReportOwnedResourceCounts()
    
    	out := &v1alpha1.InstallStatus{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 22 08:32:23 UTC 2024
    - 22K bytes
    - Viewed (0)
  9. src/internal/trace/internal/oldtrace/parser.go

    	Fn uint64
    	// string ID of the file name
    	File uint64
    	Line int
    }
    
    const (
    	// Special P identifiers:
    	FakeP    = 1000000 + iota
    	TimerP   // contains timer unblocks
    	NetpollP // contains network unblocks
    	SyscallP // contains returns from syscalls
    	GCP      // contains GC state
    	ProfileP // contains recording of CPU profile samples
    )
    
    // Trace is the result of Parse.
    type Trace struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  10. src/runtime/chan_test.go

    			}
    			if v, ok := <-c; v != 0 || ok {
    				t.Fatalf("chan[%d]: received %v/%v, expected %v/%v", chanCap, v, ok, 0, false)
    			}
    		}
    
    		{
    			// Ensure that close unblocks receive.
    			c := make(chan int, chanCap)
    			done := make(chan bool)
    			go func() {
    				v, ok := <-c
    				done <- v == 0 && ok == false
    			}()
    			time.Sleep(time.Millisecond)
    			close(c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:47:35 UTC 2023
    - 23.4K bytes
    - Viewed (0)
Back to top