Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SetOwner (0.05 sec)

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

          this.task = task;
        }
    
        @Override
        public void run() {}
    
        private void setOwner(Thread thread) {
          super.setExclusiveOwnerThread(thread);
        }
    
        @VisibleForTesting
        @CheckForNull
        Thread getOwner() {
          return super.getExclusiveOwnerThread();
        }
    
        @Override
        public String toString() {
          return task.toString();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/InterruptibleTask.java

          this.task = task;
        }
    
        @Override
        public void run() {}
    
        private void setOwner(Thread thread) {
          super.setExclusiveOwnerThread(thread);
        }
    
        @VisibleForTesting
        @CheckForNull
        Thread getOwner() {
          return super.getExclusiveOwnerThread();
        }
    
        @Override
        public String toString() {
          return task.toString();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        awaitBlockedOnInstanceOf(runner, InterruptibleTask.Blocker.class);
    
        Blocker blocker = (Blocker) LockSupport.getBlocker(runner);
        Thread owner = blocker.getOwner();
        assertThat(owner).isSameInstanceAs(interrupter);
    
        slowChannel.exitClose.countDown(); // release the interrupter
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top