Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ThreadPriorityCheck (0.23 sec)

  1. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

      private static final Runnable PARKED = new DoNothingRunnable();
      // Why 1000?  WHY NOT!
      private static final int MAX_BUSY_WAIT_SPINS = 1000;
    
      @SuppressWarnings("ThreadPriorityCheck") // The cow told me to
      @Override
      public final void run() {
        /*
         * Set runner thread before checking isDone(). If we were to check isDone() first, the task
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

        return this;
      }
    
      /**
       * Sets the priority for new threads created with this ThreadFactory.
       *
       * <p><b>Warning:</b> relying on the thread scheduler is <a
       * href="http://errorprone.info/bugpattern/ThreadPriorityCheck">discouraged</a>.
       *
       * @param priority the priority for new Threads created with this ThreadFactory
       * @return this for the builder pattern
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 10 21:56:03 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

       * derived from observing how much time actually passed for various operations.
       */
      @SuppressWarnings({"DeprecatedThreadMethods", "ThreadPriorityCheck"})
      @AndroidIncompatible // Thread.suspend
      public void testToString_delayedTimeout() throws Exception {
        Integer javaVersion = Ints.tryParse(JAVA_SPECIFICATION_VERSION.value());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

       * derived from observing how much time actually passed for various operations.
       */
      @SuppressWarnings({"DeprecatedThreadMethods", "ThreadPriorityCheck"})
      @AndroidIncompatible // Thread.suspend
      public void testToString_delayedTimeout() throws Exception {
        Integer javaVersion = Ints.tryParse(JAVA_SPECIFICATION_VERSION.value());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
Back to top