Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ReadWriteLock (0.06 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
Back to top