- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 247 for Synchronizer (0.42 sec)
-
subprojects/core/src/main/java/org/gradle/internal/model/StateTransitionController.java
private final Synchronizer synchronizer; // This structure is immutable, and this field is mutated only by the thread that owns the lock private volatile CurrentState<T> state; public StateTransitionController(DisplayName displayName, T initialState, Synchronizer synchronizer) { this.displayName = displayName; this.synchronizer = synchronizer;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 03 03:31:44 UTC 2023 - 20.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
executionList.execute(); } return result; } /** * Following the contract of {@link AbstractQueuedSynchronizer} we create a private subclass to * hold the synchronizer. This synchronizer is used to implement the blocking and waiting calls * as well as to handle state changes in a thread-safe manner. The current state of the future
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 06 12:56:11 UTC 2023 - 13.6K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultWorkerLeaseService.java
action.run(); } else { withLocks(Collections.singletonList(workerLeaseLockRegistry.newUnmanagedLease()), action); } } @Override public Synchronizer newResource() { return new DefaultSynchronizer(this); } @Override public void stop() { coordinationService.withStateLock(new Runnable() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 09 04:43:28 UTC 2024 - 20.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Queues.java
* * @param queue the queue to be wrapped in a synchronized view * @return a synchronized view of the specified queue * @since 14.0 */ public static <E extends @Nullable Object> Queue<E> synchronizedQueue(Queue<E> queue) { return Synchronized.queue(queue, null); } /** * Returns a synchronized (thread-safe) deque backed by the specified deque. In order to guarantee
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 16K bytes - Viewed (0) -
guava/src/com/google/common/collect/Queues.java
* * @param queue the queue to be wrapped in a synchronized view * @return a synchronized view of the specified queue * @since 14.0 */ public static <E extends @Nullable Object> Queue<E> synchronizedQueue(Queue<E> queue) { return Synchronized.queue(queue, null); } /** * Returns a synchronized (thread-safe) deque backed by the specified deque. In order to guarantee
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 18K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
this.delegate = checkNotNull(delegate); } @Override @ParametricNullness public T get() { // A 2-field variant of Double Checked Locking. if (!initialized) { synchronized (this) { if (!initialized) { T t = delegate.get(); value = t; initialized = true; return t; } } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 15.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java
synchronized (currentStream) { currentStream.println(); currentStream.notifyAll(); } } @Override public void print(char c) { final PrintStream currentStream = getOutputStreamForCurrentThread(); synchronized (currentStream) { currentStream.print(c);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 12.8K bytes - Viewed (0) -
doc/go_mem.html
</p> <p> The <i>synchronized before</i> relation is a partial order on synchronizing memory operations, derived from <i>W</i>. If a synchronizing read-like memory operation <i>r</i> observes a synchronizing write-like memory operation <i>w</i> (that is, if <i>W</i>(<i>r</i>) = <i>w</i>), then <i>w</i> is synchronized before <i>r</i>. Informally, the synchronized before relation is a subset of the implied total order
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 15:54:42 UTC 2024 - 26.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Suppliers.java
this.delegate = checkNotNull(delegate); } @Override @ParametricNullness public T get() { // A 2-field variant of Double Checked Locking. if (!initialized) { synchronized (this) { if (!initialized) { T t = delegate.get(); value = t; initialized = true; return t; } } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 15.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Tables.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 26.3K bytes - Viewed (0)