- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for isLocked (0.13 sec)
-
src/cmd/go/internal/lockedfile/lockedfile_plan9.go
"exclusive use file already open", } // Even though plan9 doesn't support the Lock/RLock/Unlock functions to // manipulate already-open files, IsLocked is still meaningful: os.OpenFile // itself may return errors that indicate that a file with the ModeExclusive bit // set is already open. func isLocked(err error) bool { s := err.Error() for _, frag := range lockedErrStrings { if strings.Contains(s, frag) { return true } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 2.5K bytes - Viewed (0) -
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) -
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)