Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 44 of 44 for Synchronizer (0.14 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheStandardStreamsIntegrationTest.groovy

                    }
                }
            """
        }
    
        def withStdInContents(String message) {
            executer.withStdinPipe(new PipedOutputStream() {
                @Override
                synchronized void connect(PipedInputStream snk) throws IOException {
                    super.connect(snk)
                    write(message.bytes)
                    close()
                }
            })
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

     * future.
     *
     * <ul>
     *   <li>SafeAtomicHelper: uses AtomicReferenceFieldsUpdaters to implement synchronization
     *   <li>SynchronizedHelper: uses {@code synchronized} blocks for synchronization
     * </ul>
     *
     * To force selection of our fallback strategies we load {@link AbstractFuture} (and all of {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

            }
    
            public T value() {
                return value;
            }
    
            @Override
            public T get() {
                if (value == null) {
                    synchronized (this) {
                        if (value == null) {
                            value = provider.get();
                        }
                    }
                }
                return value;
            }
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache-base/src/main/kotlin/org/gradle/internal/cc/base/services/ConfigurationCacheEnvironmentChangeTracker.kt

            private
            var mode: TrackerMode = Initial()
    
            private
            inline fun <T : TrackerMode> setMode(transition: (TrackerMode) -> T): T {
                synchronized(this) {
                    val newMode = transition(mode)
                    mode = newMode
                    return newMode
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top