- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 928 for lock1 (0.03 sec)
-
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/IncomingQueue.java
import org.gradle.internal.remote.internal.hub.protocol.EndOfStream; import org.gradle.internal.remote.internal.hub.queue.MultiChannelQueue; import java.util.concurrent.locks.Lock; class IncomingQueue extends MultiChannelQueue { IncomingQueue(Lock lock) { super(lock); } public void requestStop() { queue(new EndOfStream()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ResourceLockState.java
/** * Possible results from a resource lock state transform. */ enum Disposition { FAILED, FINISHED, RETRY } /** * Registers a resource lock to be rolled back if the transform associated with this resource lock state * fails. */ void registerLocked(ResourceLock resourceLock); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 1.3K bytes - Viewed (0) -
docs/contribute/concurrency.md
### Locks We have 3 different things that we synchronize on. #### Http2Connection This lock guards internal state of each connection. This lock is never held for blocking operations. That means that we acquire the lock, read or write a few fields and release the lock. No I/O and no application-layer callbacks. #### Http2Stream
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 7K bytes - Viewed (0) -
platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCache.java
public void loadLocally(HashCode key, Consumer<? super File> reader) { // We need to lock other processes out here because garbage collection can be under way in another process persistentCache.withFileLock(() -> { // Additional locking necessary because of https://github.com/gradle/gradle/issues/3537 lock.readLock().lock(); try { loadInsideLock(key, reader); } finally {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:53 UTC 2024 - 7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/antbuilder/ClassPathToClassLoaderCache.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 7K bytes - Viewed (0) -
cmd/local-locker.go
TimeLastRefresh time.Time // Timestamp for last lock refresh. Source string // Contains line, function and filename requesting the lock. Group bool // indicates if it was a group lock. Owner string // Owner represents the UUID of the owner who originally requested the lock. Quorum int // Quorum represents the quorum required for this lock to be active.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Feb 19 22:54:46 UTC 2024 - 10.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/antbuilder/FinalizerThread.java
private final AtomicBoolean stopped = new AtomicBoolean(); // Protects the following fields private final Lock lock; private final Map<ClassPath, Cleanup> cleanups; private final Map<ClassPath, CacheEntry> cacheEntries; public FinalizerThread(Map<ClassPath, CacheEntry> cacheEntries, Lock lock) { this.setName("Classloader cache reference queue poller"); this.setDaemon(true);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 3.5K bytes - Viewed (0) -
src/internal/poll/fd_mutex.go
type fdMutex struct { state uint64 rsema uint32 wsema uint32 } // fdMutex.state is organized as follows: // 1 bit - whether FD is closed, if set all subsequent lock operations will fail. // 1 bit - lock for read operations. // 1 bit - lock for write operations. // 20 bits - total number of references (read+write+misc). // 20 bits - number of outstanding read waiters. // 20 bits - number of outstanding write waiters. const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 20 16:55:30 UTC 2018 - 6.4K bytes - Viewed (0) -
platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/serialization/ClasspathInferer.java
import java.util.LinkedHashSet; import java.util.Map; import java.util.Set; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; @ThreadSafe public class ClasspathInferer { private static final Logger LOGGER = LoggerFactory.getLogger(ClasspathInferer.class); private final Lock lock = new ReentrantLock(); private final Map<Class<?>, Collection<URI>> classPathCache;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:53:31 UTC 2024 - 5.9K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/lockedfile.go
if err != nil { return nil, err } // Although the operating system will drop locks for open files when the go // command exits, we want to hold locks for as little time as possible, and we // especially don't want to leave a file locked after we're done with it. Our // Close method is what releases the locks, so use a finalizer to report // missing Close calls on a best-effort basis.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 18:41:18 UTC 2020 - 5.1K bytes - Viewed (0)