Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for releaseLock (0.33 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/DefaultResourceLockCoordinationServiceTest.groovy

                }
            })
    
            then:
            thrown(RuntimeException)
    
            and:
            !lock1.lockedState
            !lock2.lockedState
        }
    
        def "locks are rolled back when releaseLocks is called"() {
            def lock1 = resourceLock("lock1", false)
            def lock2 = resourceLock("lock2", false)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 17:16:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go

    		for _, admissionAttribute := range admissionAttributes {
    			admissionAttribute.result = nil
    		}
    		return
    	}
    
    	if e.lockAcquisitionFunc != nil {
    		releaseLocks := e.lockAcquisitionFunc(quotas)
    		defer releaseLocks()
    	}
    
    	e.checkQuotas(quotas, admissionAttributes, 3)
    }
    
    // checkQuotas checks the admission attributes against the passed quotas.  If a quota applies, it will attempt to update it
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultPlanExecutor.java

                        try {
                            workItem = queue.selectNext();
                        } catch (Throwable t) {
                            resourceLockState.releaseLocks();
                            queue.abortAllAndFail(t);
                            return FINISHED;
                        }
                        if (workItem.isNoMoreWorkToStart()) {
                            return FINISHED;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  4. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.internal.resources.DefaultResourceLockCoordinationService$ReleaseLocks> 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