- Sort Score
- Num 10 results
- Language All
Results 11 - 17 of 17 for writeLock (0.68 seconds)
-
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 13K bytes - Click Count (0) -
docs/smb3-features/04-directory-leasing-design.md
public void markComplete() { lock.writeLock().lock(); try { this.isComplete = true; this.hasChanges = false; this.lastUpdateTime = System.currentTimeMillis(); } finally { lock.writeLock().unlock(); } } public void invalidate() { lock.writeLock().lock(); try { children.clear();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 36.2K bytes - Click Count (0) -
docs/smb3-features/01-smb3-lease-design.md
} } public void releaseLease(Smb2LeaseKey key) { lock.writeLock().lock(); try { LeaseEntry entry = leases.remove(key); if (entry != null) { pathToLease.remove(entry.path); } } finally { lock.writeLock().unlock(); } } private void flushCachedWrites(String path) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java
executeStep(step); if (nextIsPlanning) { lock.writeLock().lock(); try { plan(); } finally { lock.writeLock().unlock(); } } executePlan();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 55.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java
mojos.put(Thread.currentThread(), mojoDescriptor); boolean aggregator = mojoDescriptor.isAggregator(); acquiredAggregatorLock = aggregator ? aggregatorLock.writeLock() : aggregatorLock.readLock(); acquiredProjectLock = getProjectLock(session); if (!acquiredAggregatorLock.tryLock()) { Thread owner = aggregatorLock.getOwner();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jun 12 14:55:55 GMT 2025 - 21K bytes - Click Count (0) -
docs/tuning/tuned.conf
fs.xfs.xfssyncd_centisecs=72000 net.core.busy_read=50 net.core.busy_poll=50 kernel.numa_balancing=1 # Do not use swap at all vm.swappiness=0 vm.vfs_cache_pressure=50 # Start writeback at 3% memory vm.dirty_background_ratio=3 # Force writeback at 10% memory vm.dirty_ratio=10 # Quite a few memory map # areas may be consumed vm.max_map_count=524288 # Default is 500000 = 0.5ms kernel.sched_migration_cost_ns=5000000
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 12 23:31:18 GMT 2024 - 1.9K bytes - Click Count (0) -
internal/dsync/drwmutex.go
{ dm.m.Lock() defer dm.m.Unlock() // Check if minimally a single bool is set in the writeLocks array lockFound := slices.ContainsFunc(dm.writeLocks, isLocked) if !lockFound { panic("Trying to Unlock() while no Lock() is active") } // Copy write locks to stack array copy(locks, dm.writeLocks) } // Tolerance is not set, defaults to half of the locker clients.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 20.3K bytes - Click Count (0)