Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for acquireLock (0.31 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/model/CalculatedValueContainer.java

                this.defaultContext = defaultContext;
            }
    
            // Can be called multiple times
            void attachValue(CalculatedValueContainer<T, ?> owner, @Nullable NodeExecutionContext context) {
                acquireLock();
                try {
                    if (done) {
                        // Already calculated
                        return;
                    }
                    done = true;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:19 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          for (LockGraphNode acquiredLock : acquiredLocks) {
            checkAcquiredLock(policy, acquiredLock);
          }
        }
    
        /**
         * Checks the acquisition-ordering between {@code this}, which is about to be acquired, and the
         * specified {@code acquiredLock}.
         *
         * <p>When this method returns, the {@code acquiredLock} should be in either the {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          for (LockGraphNode acquiredLock : acquiredLocks) {
            checkAcquiredLock(policy, acquiredLock);
          }
        }
    
        /**
         * Checks the acquisition-ordering between {@code this}, which is about to be acquired, and the
         * specified {@code acquiredLock}.
         *
         * <p>When this method returns, the {@code acquiredLock} should be in either the {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/DefaultResourceLockCoordinationService.java

            return unlock(Arrays.asList(resourceLocks));
        }
    
        private static class AcquireLocks implements InternalTransformer<ResourceLockState.Disposition, ResourceLockState> {
            private final Iterable<? extends ResourceLock> resourceLocks;
            private final boolean blocking;
    
            AcquireLocks(Iterable<? extends ResourceLock> resourceLocks, boolean blocking) {
                this.resourceLocks = resourceLocks;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 17:16:10 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultWorkerLeaseService.java

            }
        }
    
        private void releaseLocks(Iterable<? extends ResourceLock> locks) {
            coordinationService.withStateLock(unlock(locks));
        }
    
        private void acquireLocks(final Iterable<? extends ResourceLock> locks) {
            if (containsProjectLocks(locks)) {
                projectLockStatistics.measure(new Runnable() {
                    @Override
                    public void run() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 04:43:28 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top