Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for AcquireLocks (0.23 sec)

  1. 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)
  2. 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)
  3. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       * CycleDetectingLock implementations must call this method in a {@code finally} clause after any
       * attempt to change the lock state, including both lock and unlock attempts. Failure to do so can
       * result in corrupting the acquireLocks set.
       */
      private static void lockStateChanged(CycleDetectingLock lock) {
        if (!lock.isAcquiredByCurrentThread()) {
          // requireNonNull accommodates Android's @RecentlyNullable annotation on ThreadLocal.get
    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. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       * CycleDetectingLock implementations must call this method in a {@code finally} clause after any
       * attempt to change the lock state, including both lock and unlock attempts. Failure to do so can
       * result in corrupting the acquireLocks set.
       */
      private static void lockStateChanged(CycleDetectingLock lock) {
        if (!lock.isAcquiredByCurrentThread()) {
          // requireNonNull accommodates Android's @RecentlyNullable annotation on ThreadLocal.get
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  5. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.internal.resources.DefaultResourceLockCoordinationService$AcquireLocks> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (DefaultResourceLockCoordinationService.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top