Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 462 for blocked (0.13 sec)

  1. src/runtime/cpuprof.go

    //
    //go:nosplit
    //go:nowritebarrierrec
    func (p *cpuProfile) addNonGo(stk []uintptr) {
    	// Simple cas-lock to coordinate with SetCPUProfileRate.
    	// (Other calls to add or addNonGo should be blocked out
    	// by the fact that only one SIGPROF can be handled by the
    	// process at a time. If not, this lock will serialize those too.
    	// The use of timer_create(2) on Linux to request process-targeted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/os/signal/signal_test.go

    		// nothing to read - good
    	}
    
    	select {
    	case s := <-c2:
    		t.Errorf("unexpected signal %v", s)
    	default:
    		// nothing to read - good
    	}
    
    	// One or both of the signals may have been blocked for this process
    	// by the calling process.
    	// Discard any queued signals now to avoid interfering with other tests.
    	Notify(c1, syscall.SIGWINCH)
    	Notify(c2, syscall.SIGHUP)
    	quiesce()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:34:56 UTC 2023
    - 27.2K bytes
    - Viewed (0)
  3. internal/grid/grid_test.go

    	// Check that remote is canceled.
    	<-serverCanceled
    	close(nowBlocking)
    }
    
    // testServerStreamPingRunning will test if server and client handle ping even when blocked.
    func testServerStreamPingRunning(t *testing.T, local, remote *Manager, inCap int, blockResp, blockReq bool) {
    	defer testlogger.T.SetErrorTB(t)()
    	errFatal := func(err error) {
    		t.Helper()
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. src/runtime/mgcmark.go

    // condition.
    //
    //go:nowritebarrierrec
    func gcFlushBgCredit(scanWork int64) {
    	if work.assistQueue.q.empty() {
    		// Fast path; there are no blocked assists. There's a
    		// small window here where an assist may add itself to
    		// the blocked queue and park. If that happens, we'll
    		// just get it on the next flush.
    		gcController.bgScanCredit.Add(scanWork)
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned
       * normally.
       */
      public void assertPriorCallReturns(@Nullable String methodName) throws Exception {
        assertEquals(null, getResponse(methodName).getResult());
      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned the
       * expected boolean value.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectMaxNConcurrentRequests.java

                }
            } finally {
                lock.unlock();
            }
    
            return handler;
        }
    
        /**
         * Called when the expected requests have been received and are now blocked waiting to be released.
         * Subclasses may choose to release some or all of the requests.
         */
        protected void onExpectedRequestsReceived(BlockingHttpServer.BlockingHandler handler, int yetToBeReceived) {
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. internal/grid/manager.go

    	Incoming     func(n int64)               // Record incoming bytes.
    	Outgoing     func(n int64)               // Record outgoing bytes.
    	BlockConnect chan struct{}               // If set, incoming and outgoing connections will be blocked until closed.
    	TraceTo      *pubsub.PubSub[madmin.TraceInfo, madmin.TraceType]
    }
    
    // NewManager creates a new grid manager
    func NewManager(ctx context.Context, o ManagerOptions) (*Manager, error) {
    	found := false
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. src/runtime/debug/garbage.go

    //
    // The limit controls the number of operating system threads, not the number
    // of goroutines. A Go program creates a new thread only when a goroutine
    // is ready to run but all the existing threads are blocked in system calls, cgo calls,
    // or are locked to other goroutines due to use of runtime.LockOSThread.
    //
    // SetMaxThreads is useful mainly for limiting the damage done by
    // programs that create an unbounded number of threads. The idea is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. src/cmd/trace/goroutines.go

    		<td> <a href="/io?name={{.Name}}">graph</a> <a href="/io?name={{.Name}}&raw=1" download="io.profile">(download)</a></td>
    	</tr>
    	<tr>
    		<td>Sync block profile:</td>
    		<td> <a href="/block?name={{.Name}}">graph</a> <a href="/block?name={{.Name}}&raw=1" download="block.profile">(download)</a></td>
    	</tr>
    	<tr>
    		<td>Syscall profile:</td>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. src/cmd/trace/pprof.go

    	return makeComputePprofFunc(trace.GoWaiting, func(reason string) bool {
    		return reason == "network"
    	})
    }
    
    // computePprofBlock returns a computePprofFunc that generates blocking pprof-like profile
    // (time spent blocked on synchronization primitives).
    func computePprofBlock() computePprofFunc {
    	return makeComputePprofFunc(trace.GoWaiting, func(reason string) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top