Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 734 for thread1 (0.28 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/operations/DefaultBuildOperationQueue.java

            signalNoMoreWork();
    
            // Use this thread to process any work - this allows work to be executed using the
            // worker lease acquired by this thread even if the executor thread pool is full of
            // workers from other queues.  In other words, it ensures that all worker leases
            // are being utilized, regardless of the bounds of the thread pool.
            new WorkerRunnable().run();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 31 15:18:20 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Monitor.java

       */
      public boolean hasQueuedThread(Thread thread) {
        return lock.hasQueuedThread(thread);
      }
    
      /**
       * Queries whether any threads are waiting for the given guard to become satisfied. Note that
       * because timeouts and interrupts may occur at any time, a {@code true} return does not guarantee
       * that the guard becoming satisfied in the future will awaken any threads. This method is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  3. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/worker/TestWorker.java

     * - {@link RemoteTestClassProcessor#stop()}
     *
     * Commands are received on communication threads and then processed sequentially on the main thread.  Although concurrent calls to
     * any of the methods from {@link RemoteTestClassProcessor} are supported, the commands will still be executed sequentially in the
     * main thread in order of arrival.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. src/regexp/exec.go

    	m.clear(nextq)
    	return m.matched
    }
    
    // clear frees all threads on the thread queue.
    func (m *machine) clear(q *queue) {
    	for _, d := range q.dense {
    		if d.t != nil {
    			m.pool = append(m.pool, d.t)
    		}
    	}
    	q.dense = q.dense[:0]
    }
    
    // step executes one step of the machine, running each of the threads
    // on runq and appending new threads to nextq.
    // The step processes the rune c (which may be endOfText),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 04 20:10:54 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Monitor.java

       */
      public boolean hasQueuedThread(Thread thread) {
        return lock.hasQueuedThread(thread);
      }
    
      /**
       * Queries whether any threads are waiting for the given guard to become satisfied. Note that
       * because timeouts and interrupts may occur at any time, a {@code true} return does not guarantee
       * that the guard becoming satisfied in the future will awaken any threads. This method is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 42.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/Striped64.java

       * there would exist a perfect hash function mapping threads to
       * slots that eliminates collisions. When we reach capacity, we
       * search for this mapping by randomly varying the hash codes of
       * colliding threads.  Because search is random, and collisions
       * only become known via CAS failures, convergence can be slow,
       * and because threads are typically not bound to CPUS forever,
       * may not occur at all. However, despite these limitations,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/Striped64.java

       * there would exist a perfect hash function mapping threads to
       * slots that eliminates collisions. When we reach capacity, we
       * search for this mapping by randomly varying the hash codes of
       * colliding threads.  Because search is random, and collisions
       * only become known via CAS failures, convergence can be slow,
       * and because threads are typically not bound to CPUS forever,
       * may not occur at all. However, despite these limitations,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          return;
        }
        TimedWaiterThread thread =
            new TimedWaiterThread(new AbstractFuture<Object>() {}, 2, TimeUnit.SECONDS);
        thread.start();
        thread.awaitWaiting();
        thread.suspend();
        // Sleep for enough time to add 1500 milliseconds of overwait to the get() call.
        long toWaitMillis = 3500 - TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - thread.startTime);
        Thread.sleep(toWaitMillis);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          return;
        }
        TimedWaiterThread thread =
            new TimedWaiterThread(new AbstractFuture<Object>() {}, 2, TimeUnit.SECONDS);
        thread.start();
        thread.awaitWaiting();
        thread.suspend();
        // Sleep for enough time to add 1500 milliseconds of overwait to the get() call.
        long toWaitMillis = 3500 - TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - thread.startTime);
        Thread.sleep(toWaitMillis);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/build-operations/src/test/groovy/org/gradle/internal/operations/DefaultBuildOperationRunnerTest.groovy

            }
        }
    
        def "multiple threads can run independent operations concurrently"() {
            def id1
            def id2
    
            when:
            async {
                start {
                    operationRunner.run(runnableBuildOperation("<thread-1>") {
                        instant.action1Started
                        thread.blockUntil.action2Started
                    })
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:56:07 UTC 2024
    - 29.3K bytes
    - Viewed (0)
Back to top