Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 755 for synchronised (0.35 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultSynchronizer.java

            if (!workerLeaseService.isWorkerThread()) {
                throw new IllegalStateException("The current thread is not registered as a worker thread.");
            }
            synchronized (this) {
                if (owner == null) {
                    owner = currentThread;
                    return null;
                } else if (owner == currentThread) {
                    return currentThread;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. 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)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ScopedFingerprintWriter.kt

    ) : Closeable {
        override fun close() {
            // we synchronize access to all resources used by callbacks
            // in case there was still an event being dispatched at closing time.
            synchronized(writeContext) {
                unsafeWrite(null)
                writeContext.close()
            }
        }
    
        fun write(value: T, trace: PropertyTrace? = null) {
            synchronized(writeContext) {
                withPropertyTrace(trace) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/util/transport/Transport.java

                    // we are in the transport thread, ie. on idle disconnecting
                    // this is synchronous operation
                    // This does not handle compound requests
                    synchronized ( this.inLock ) {
                        Long peekKey = peekKey();
                        if ( peekKey == firstKey ) {
                            doRecv(response);
                            response.received();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  6. src/runtime/proflabel.go

    	// the acquire in profBuf.read synchronizes with *all* prior
    	// setProfLabel operations, not just the most recent one. This
    	// is important because profBuf.read will observe different
    	// labels set by different setProfLabel operations on
    	// different goroutines, so it needs to synchronize with all
    	// of them (this wouldn't be an issue if we could synchronize
    	// on &getg().labels since we would synchronize with each
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/internal/cache/CacheConfigurationsInternal.java

        void finalizeConfiguration(Gradle gradle);
    
        /**
         * Synchronizes the property values of the provided cache configurations with those of this cache configuration
         * by setting the provided configuration's properties to be backed by the properties of this configuration.
         */
        void synchronize(CacheConfigurationsInternal cacheConfigurationsInternal);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 20:02:29 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/eventbus/Subscriber.java

                bus.handleSubscriberException(e.getCause(), context(event));
              }
            });
      }
    
      /**
       * Invokes the subscriber method. This method can be overridden to make the invocation
       * synchronized.
       */
      @VisibleForTesting
      void invokeSubscriberMethod(Object event) throws InvocationTargetException {
        try {
          method.invoke(target, checkNotNull(event));
        } catch (IllegalArgumentException e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/eventbus/Subscriber.java

                bus.handleSubscriberException(e.getCause(), context(event));
              }
            });
      }
    
      /**
       * Invokes the subscriber method. This method can be overridden to make the invocation
       * synchronized.
       */
      @VisibleForTesting
      void invokeSubscriberMethod(Object event) throws InvocationTargetException {
        try {
          method.invoke(target, checkNotNull(event));
        } catch (IllegalArgumentException e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/ProducerGuard.java

            private final Set<T> producing = new HashSet<>();
    
            @Override
            public <V> V guardByKey(T key, Supplier<V> supplier) {
                synchronized (producing) {
                    while (!producing.add(key)) {
                        try {
                            producing.wait();
                        } catch (InterruptedException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:31 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top