Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for readWriteLock (0.16 sec)

  1. guava/src/com/google/common/util/concurrent/Striped.java

      }
    
      /**
       * Creates a {@code Striped<ReadWriteLock>} with eagerly initialized, strongly referenced
       * read-write locks. Every lock is reentrant.
       *
       * @param stripes the minimum number of stripes (locks) required
       * @return a new {@code Striped<ReadWriteLock>}
       */
      public static Striped<ReadWriteLock> readWriteLock(int stripes) {
        return custom(stripes, ReentrantReadWriteLock::new);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        @Weak final CycleDetectingReentrantReadWriteLock readWriteLock;
    
        CycleDetectingReentrantReadLock(CycleDetectingReentrantReadWriteLock readWriteLock) {
          super(readWriteLock);
          this.readWriteLock = readWriteLock;
        }
    
        @Override
        public void lock() {
          aboutToAcquire(readWriteLock);
          try {
            super.lock();
          } finally {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
Back to top