Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for blockedOn (0.04 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        // This should wake up waiter1 and cause the waiter1 node to be removed.
        waiter1.interrupt();
    
        waiter1.join();
        waiter2.awaitWaiting(); // should still be blocked
    
        LockSupport.unpark(waiter2); // spurious wakeup
        waiter2.awaitWaiting(); // should eventually re-park
    
        future.set(null);
        waiter2.join();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

      static void awaitWaiting(Thread t) {
        while (true) {
          Thread.State state = t.getState();
          switch (state) {
            case RUNNABLE:
            case BLOCKED:
              Thread.yield();
              break;
            case WAITING:
              return;
            default:
              throw new AssertionError("unexpected state: " + state);
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        // This should wake up waiter1 and cause the waiter1 node to be removed.
        waiter1.interrupt();
    
        waiter1.join();
        waiter2.awaitWaiting(); // should still be blocked
    
        LockSupport.unpark(waiter2); // spurious wakeup
        waiter2.awaitWaiting(); // should eventually re-park
    
        future.set(null);
        waiter2.join();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

      internal fun removeStream(streamId: Int): Http2Stream? {
        withLock {
          val stream = streams.remove(streamId)
    
          // The removed stream may be blocked on a connection-wide window update.
          notifyAll()
    
          return stream
        }
      }
    
      internal fun updateConnectionFlowControl(read: Long) {
        withLock {
          readBytes.update(total = read)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

            .contains("Service FailRunService [FAILED] has failed in the RUNNING state");
      }
    
      /**
       * Tests that a ServiceManager can be fully shut down if one of its failure listeners is slow or
       * even permanently blocked.
       */
      public void testListenerDeadlock() throws InterruptedException {
        CountDownLatch failEnter = new CountDownLatch(1);
        CountDownLatch failLeave = new CountDownLatch(1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

               * the lock) until after it's scheduled and the runningTask field is set.
               */
              if (requireNonNull(runningTask).isCancelled()) {
                // task may have been cancelled while blocked on the lock.
                return;
              }
              AbstractScheduledService.this.runOneIteration();
            } catch (Throwable t) {
              restoreInterruptIfIsInterruptedException(t);
              try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

               * the lock) until after it's scheduled and the runningTask field is set.
               */
              if (requireNonNull(runningTask).isCancelled()) {
                // task may have been cancelled while blocked on the lock.
                return;
              }
              AbstractScheduledService.this.runOneIteration();
            } catch (Throwable t) {
              restoreInterruptIfIsInterruptedException(t);
              try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  8. CHANGELOG.md

        intend to ship a public API for these features, but we don't want to hold OkHttp 5.0.0 until
        those APIs are stable.
    
     *  Fix: Change `MockWebServer.close()` to cancel ongoing calls that are blocked on a delay.
    
     *  Upgrade: [Okio 3.13.0][okio_3_13_0].
    
    This release also stabilizes many APIs in the `mockwebserver3` artifact that's new in 5.0.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  9. CHANGELOG/CHANGELOG-1.4.md

    - If upgrading Cluster Federation components from 1.3.x, please ensure your cluster name is a valid DNS label (#30956, @nikhiljindal)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 133.5K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.5.md

      - [beta] Deployments that cannot make progress in rolling out the newest version will now indicate via the API they are blocked ([docs](http://kubernetes.io/docs/user-guide/deployments/#failed-deployment)) ([kubernetes/features#122](https://github.com/kubernetes/enhancements/issues/122))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 136.4K bytes
    - Viewed (0)
Back to top