Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isOccupiedByCurrentThread (0.26 sec)

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

        assertFalse(monitor.isOccupiedByCurrentThread());
        monitor.enter();
        try {
          assertTrue(monitor.isOccupiedByCurrentThread());
    
          doWaitScenarioSetUp();
    
          boolean interruptedBeforeCall = Thread.currentThread().isInterrupted();
          Outcome actualOutcome = doCall();
          boolean occupiedAfterCall = monitor.isOccupiedByCurrentThread();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        assertFalse(monitor.isOccupiedByCurrentThread());
        monitor.enter();
        try {
          assertTrue(monitor.isOccupiedByCurrentThread());
    
          doWaitScenarioSetUp();
    
          boolean interruptedBeforeCall = Thread.currentThread().isInterrupted();
          Outcome actualOutcome = doCall();
          boolean occupiedAfterCall = monitor.isOccupiedByCurrentThread();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

                }
              });
        }
    
        /** Attempts to execute all the listeners in {@link #listeners}. */
        void dispatchListenerEvents() {
          checkState(
              !monitor.isOccupiedByCurrentThread(),
              "It is incorrect to execute listeners with the monitor held.");
          listeners.dispatch();
        }
    
        @GuardedBy("monitor")
        void checkHealthy() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ServiceManager.java

                }
              });
        }
    
        /** Attempts to execute all the listeners in {@link #listeners}. */
        void dispatchListenerEvents() {
          checkState(
              !monitor.isOccupiedByCurrentThread(),
              "It is incorrect to execute listeners with the monitor held.");
          listeners.dispatch();
        }
    
        @GuardedBy("monitor")
        void checkHealthy() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top