Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AtomicBoolean (0.19 sec)

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

        when(service.awaitTermination(HALF_SECOND_NANOS, NANOSECONDS))
            .thenThrow(new InterruptedException());
    
        final AtomicBoolean terminated = new AtomicBoolean();
        // we need to keep this in a flag because t.isInterrupted() returns false after t.join()
        final AtomicBoolean interrupted = new AtomicBoolean();
        // we need to use another thread because it will be interrupted and thus using
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (3)
  2. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        when(service.awaitTermination(HALF_SECOND_NANOS, NANOSECONDS))
            .thenThrow(new InterruptedException());
    
        final AtomicBoolean terminated = new AtomicBoolean();
        // we need to keep this in a flag because t.isInterrupted() returns false after t.join()
        final AtomicBoolean interrupted = new AtomicBoolean();
        // we need to use another thread because it will be interrupted and thus using
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (0)
Back to top