- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for isLocked (0.21 sec)
-
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/ClassLoaderHierarchy.kt
"label" to labelFor(it), "localClassLoader" to idOf(it.localClassLoader), "exportClassLoader" to idOf(it.exportClassLoader), "isLocked" to it.isLocked ) } ) ) } private fun hierarchyOf(initialScope: ClassLoaderScope): List<ClassLoaderScope> =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4.1K bytes - Viewed (0) -
internal/dsync/drwmutex.go
// Granted - represents a structure of a granted lock. type Granted struct { index int lockUID string // Locked if set with UID string, unlocked if empty } func (g *Granted) isLocked() bool { return isLocked(g.lockUID) } func isLocked(uid string) bool { return len(uid) > 0 } // NewDRWMutex - initializes a new dsync RW mutex. func NewDRWMutex(clnt *Dsync, names ...string) *DRWMutex {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 19.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/initialization/RootClassLoaderScope.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 20:19:43 UTC 2024 - 2.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ProjectLock.java
this.allProjectsLock = allProjectsLock; } @Override protected boolean canAcquire() { // Either the "all projects" lock is not held, or it is held by this thread return !allProjectsLock.isLocked() || allProjectsLock.isLockedByCurrentThread(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/AbstractTrackedResourceLockTest.groovy
then: thrown(IllegalStateException) when: lock.isLockedByCurrentThread() then: thrown(IllegalStateException) when: lock.isLocked() then: thrown(IllegalStateException) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/provider/ClassLoaderHierarchyTest.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ResourceLock.java
public interface ResourceLock extends Describable { /** * Returns true if this resource is locked by any thread. * * @return true if any thread holds the lock for this resource */ boolean isLocked(); /** * Returns true if the current thread holds a lock on this resource. Returns false otherwise. * * @return true if the task for this operation holds the lock for this resource. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/AbstractTrackedResourceLock.java
owner.lockReleased(this); } finally { coordinationService.getCurrent().registerUnlocked(this); } } } @Override public boolean isLocked() { failIfNotInResourceLockStateChange(); return doIsLocked(); } @Override public boolean isLockedByCurrentThread() { failIfNotInResourceLockStateChange();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/initialization/ImmutableClassLoaderScope.java
} @Override public ClassLoaderScope lock() { return this; } @Override public boolean isLocked() { return true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 20:19:43 UTC 2024 - 3.5K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/work/TestWorkerLeaseService.groovy
boolean isAllowedUncontrolledAccessToAnyProject() { return false } private WorkerLease workerLease() { return new WorkerLease() { @Override boolean isLocked() { return false } @Override boolean isLockedByCurrentThread() { return false } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.7K bytes - Viewed (0)