- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,376 for held (0.04 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ProjectLeaseRegistry.java
boolean getAllowsParallelExecution(); /** * Releases any project state locks or task execution locks currently held by the current thread and executes the {@link Factory}. * Upon completion of the {@link Factory}, if a lock was held at the time the method was called, then it will be reacquired. * If no locks were held at the time the method was called, then no attempt will be made to reacquire a lock on completion.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 5.4K bytes - Viewed (0) -
src/runtime/lockrank_on.go
println("<none>") return } for j, held := range gp.m.locksHeld[:gp.m.locksHeldLen] { println(j, ":", held.rank.String(), held.rank, unsafe.Pointer(gp.m.locksHeld[j].lockAddr)) } } // acquireLockRankAndM acquires a rank which is not associated with a mutex // lock. To maintain the invariant that an M with m.locks==0 does not hold any // lock-like resources, it also acquires the M. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:29:04 UTC 2024 - 10.6K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/ObjectHolder.java
* Fetches the value from this cache. A shared or exclusive lock is held while fetching the value, depending on implementation. */ T get(); /** * Sets the value for this cache. An exclusive lock is held while setting the value. */ void set(T newValue); /** * Replaces the value for this cache. * * An exclusive lock is held while the update action is executing.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/IndexedCache.java
*/ @Override void put(K key, V value); /** * Removes a key-value mapping from this cache. A shared lock is held while updating the value. * * The implementation may do this synchronously or asynchronously. A file lock is held until the value has been removed from the persistent store. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ResourceLockRegistry.java
public interface ResourceLockRegistry { /** * Get all of the resource locks held by the current thread. */ Collection<? extends ResourceLock> getResourceLocksByCurrentThread(); /** * Returns true if the registry has any locks that are being held by a thread. * * @return true if any locks in the registry are currently held. */ boolean hasOpenLocks();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/PersistentCache.java
import org.gradle.internal.serialize.Serializer; import java.io.Closeable; import java.io.File; /** * Represents a directory that can be used for caching. * * <p>By default, a shared lock is held on this cache by this process, to prevent it being removed or rebuilt by another process * while it is in use. You can change this use {@link CacheBuilder#withInitialLockMode(org.gradle.cache.FileLockManager.LockMode)}. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 19 07:59:23 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/SharedResourceLeaseRegistryTest.groovy
boolean lockIsHeld(final ResourceLock resourceLock) { MutableBoolean held = new MutableBoolean() coordinationService.withStateLock(new InternalTransformer<ResourceLockState.Disposition, ResourceLockState>() { @Override ResourceLockState.Disposition transform(ResourceLockState resourceLockState) { held.set(resourceLock.locked && resourceLock.isLockedByCurrentThread())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ProjectLock.java
super(displayName, coordinationService, owner); 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-execution/persistent-cache/src/main/java/org/gradle/cache/internal/AbstractCrossProcessCacheAccess.java
/** * Opens this cache access instance when the cache is opened. State lock is held while this method is called. */ public abstract void open(); /** * Closes this cache access instance when the cache is opened. State lock is held while this method is called. */ @Override public abstract void close();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/FileAccess.java
* @throws FileIntegrityViolationException If the integrity of the file cannot be guaranteed (i.e. {@link #writeFile(Runnable)} has never been called) * @throws InsufficientLockModeException If the held lock is not at least a shared lock (e.g. LockMode.NONE) */ <T> T readFile(Callable<? extends T> action) throws LockTimeoutException, FileIntegrityViolationException, InsufficientLockModeException; /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 3.6K bytes - Viewed (0)