Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,935 for thread1 (0.2 sec)

  1. releasenotes/notes/deferred_cluster_creation.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: traffic-management
    
    releaseNotes:
    - |
      **Added** an experimental feature to enable cluster creation on worker threads inline during requests.
      This will save memory and CPU cycles in cases where there are lots of inactive clusters and > 1 worker thread.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 402 bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/IndexedCache.java

         *
         * The implementation blocks when multiple threads producing the same value concurrently, so that only a single thread produces the value and the other threads reuse the result.
         *
         * Production of the value always happens synchronously by the calling thread. However, the implementation may update the backing store with new value synchronously or asynchronously.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultPlanExecutor.java

            //
            // This situation can happen when the last task in an included build is executed by the thread that called process() and all other workers are waiting for work to be enabled in the
            // other builds in the tree. The thread will signal the other threads and then stop running as a worker. At this point in time, work will be ready to start but all the (other) workers will
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

              // thread.
              executionList.execute();
              return;
            }
    
            // TODO(lukes): handle RejectedExecutionException
            adapterExecutor.execute(
                () -> {
                  try {
                    /*
                     * Threads from our private pool are never interrupted. Threads from a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. src/runtime/testdata/testprog/syscall_windows.go

    			wg.Done()
    			select {}
    		}()
    	}
    	wg.Wait()
    	mem2, err := getPagefileUsage()
    	if err != nil {
    		panic(err)
    	}
    	// assumes that this process creates 1 thread for each
    	// thread locked goroutine plus extra 10 threads
    	// like sysmon and others
    	print((mem2 - mem1) / (threadCount + 10))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 17:31:31 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

      /**
       * Returns an exception handler that exits the system. This is particularly useful for the main
       * thread, which may start up other, non-daemon threads, but fail to fully initialize the
       * application successfully.
       *
       * <p>Example usage:
       *
       * <pre>
       * public static void main(String[] args) {
       *   Thread.currentThread().setUncaughtExceptionHandler(UncaughtExceptionHandlers.systemExit());
       *   ...
       * </pre>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testcarchive/testdata/libgo2/libgo2.go

    // RunGoroutines starts some goroutines that don't do anything.
    // The idea is to get some threads going, so that a signal will be delivered
    // to a thread started by Go.
    //
    //export RunGoroutines
    func RunGoroutines() {
    	for i := 0; i < 4; i++ {
    		go func() {
    			runtime.LockOSThread()
    			select {}
    		}()
    	}
    }
    
    // Block blocks the current thread while running Go code.
    //
    //export Block
    func Block() {
    	select {}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/model/ModelContainer.java

         * However, it is currently easy for state to leak from one project to another so this is not a strong guarantee.
         */
        void applyToMutableState(Consumer<? super T> action);
    
        /**
         * Returns whether or not the current thread has access to the mutable model.
         */
        boolean hasMutableState();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. platforms/extensibility/unit-test-fixtures/src/integTest/groovy/org/gradle/testfixtures/ProjectBuilderIntegrationTest.groovy

        }
    
        def "can be used in parallel"() {
            def threads = 5
            def startSignal = new CountDownLatch(1)
            def doneSignal = new CountDownLatch(threads)
    
            when:
            threads.times {
                new Thread({
                    startSignal.await()
                    def spawnedProject = ProjectBuilder.builder().build()
                    try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarder.java

            // Use a single reader thread, and make it a daemon thread so that it does not block process shutdown
            // In most cases, we try to cleanly shut down all threads. However, in this case it is difficult to disconnect a thread blocked trying to read from the
            // process' stdin, so use a daemon thread instead.
            executor = Executors.newSingleThreadExecutor(r -> {
                Thread thread = new Thread(r);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top