Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for readLock (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

         *
         * @return list of child file info
         */
        public List<FileInfo> getChildren() {
            lock.readLock().lock();
            try {
                lastAccessTime = System.currentTimeMillis();
                return new ArrayList<>(children.values());
            } finally {
                lock.readLock().unlock();
            }
        }
    
        /**
         * Get a specific child
         *
         * @param name child name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

         * @return the handle info or null if not found
         */
        public HandleInfo getHandleByGuid(HandleGuid guid) {
            lock.readLock().lock();
            try {
                return guidToHandle.get(guid);
            } finally {
                lock.readLock().unlock();
            }
        }
    
        /**
         * Get handle information by path
         * @param path the file path
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. docs/smb3-features/04-directory-leasing-design.md

        
        public List<FileInfo> getChildren() {
            lock.readLock().lock();
            try {
                lastAccessTime = System.currentTimeMillis();
                return new ArrayList<>(children.values());
            } finally {
                lock.readLock().unlock();
            }
        }
        
        public FileInfo getChild(String name) {
            lock.readLock().lock();
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Striped.java

        private final ReadWriteLock delegate;
    
        WeakSafeReadWriteLock() {
          this.delegate = new ReentrantReadWriteLock();
        }
    
        @Override
        public Lock readLock() {
          return new WeakSafeLock(delegate.readLock(), this);
        }
    
        @Override
        public Lock writeLock() {
          return new WeakSafeLock(delegate.writeLock(), this);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                    }
                    assertTrue(hasNonZero, "Each array should have a signature");
                }
            }
    
            @Test
            @DisplayName("Should handle high concurrency without deadlock")
            void testHighConcurrencyNoDeadlock() throws InterruptedException {
                int threadCount = 100;
                int operationsPerThread = 50;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental.cc

      // threadpool, so that we avoid the possibility of running the runner_ in the
      // threadpool of GPU event mgr, as that can trigger more callbacks to be
      // scheduled on that same threadpool, causing a deadlock in cases where the
      // caller of event_mgr->ThenExecute() blocks on the completion of the callback
      // (as in the case of ConstOp kernel creation on GPU, which involves copying a
      // CPU tensor to GPU).
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 03:53:25 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/Transport.java

                    this.state = 6;
                    ioe = ioe0;
                }
            case 4: /* failed to connect - reset the transport */
                // thread is cleaned up by connect routine, joining it here causes a deadlock
                this.thread = null;
                this.state = 6;
                break;
            default:
                log.error("Invalid state: " + this.state);
                this.thread = null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.34.md

    - Fixed a panic issue related to kubectl revision history kubernetes/kubectl#1724 ([#130503](https://github.com/kubernetes/kubernetes/pull/130503), [@tahacodes](https://github.com/tahacodes)) [SIG CLI]
    - Fixed a possible deadlock in the watch client that could happen if the watch was not stopped. ([#131266](https://github.com/kubernetes/kubernetes/pull/131266), [@karlkfi](https://github.com/karlkfi)) [SIG API Machinery]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 27 10:36:10 UTC 2025
    - 292.8K bytes
    - Viewed (1)
Back to top