Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 558 for nThreads (0.25 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/build/DefaultBuildLifecycleController.java

        }
    
        @Override
        public GradleInternal getGradle() {
            // Should not ignore other threads, however it is currently possible for this to be queried by tasks at execution time (that is, when another thread is
            // transitioning the task graph state). Instead, it may be better to:
            // - have the threads use some specific immutable view of the build model state instead of requiring direct access to the build model.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. src/net/rlimit_unix.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build unix || wasip1
    
    package net
    
    import "syscall"
    
    // concurrentThreadsLimit returns the number of threads we permit to
    // run concurrently doing DNS lookups via cgo. A DNS lookup may use a
    // file descriptor so we limit this to less than the number of
    // permitted open files. On some systems, notably Darwin, if
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. src/os/signal/signal_linux_test.go

    //go:build linux
    
    package signal
    
    import (
    	"os"
    	"syscall"
    	"testing"
    	"time"
    )
    
    const prSetKeepCaps = 8
    
    // This test validates that syscall.AllThreadsSyscall() can reliably
    // reach all 'm' (threads) of the nocgo runtime even when one thread
    // is blocked waiting to receive signals from the kernel. This monitors
    // for a regression vs. the fix for #43149.
    func TestAllThreadsSyscallSignals(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/eventbus/AllowConcurrentEvents.java

    import java.lang.annotation.Target;
    
    /**
     * Marks an event subscriber method as being thread-safe. This annotation indicates that EventBus
     * may invoke the event subscriber simultaneously from multiple threads.
     *
     * <p>This does not mark the method, and so should be used in combination with {@link Subscribe}.
     *
     * @author Cliff Biffle
     * @since 10.0
     */
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.METHOD)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuildThreadFactory.java

    package org.apache.maven.lifecycle.internal;
    
    import java.util.concurrent.ThreadFactory;
    import java.util.concurrent.atomic.AtomicInteger;
    
    /**
     * Simple {@link ThreadFactory} implementation that ensures the corresponding threads have a meaningful name.
     */
    public class BuildThreadFactory implements ThreadFactory {
        private final AtomicInteger id = new AtomicInteger();
    
        private static final String PREFIX = "BuilderThread";
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-operations/src/test/groovy/org/gradle/internal/operations/CurrentBuildOperationRefTest.groovy

    import spock.lang.Specification
    import spock.util.concurrent.AsyncConditions
    
    class CurrentBuildOperationRefTest extends Specification {
    
        def "able to set and retrieve current operation across threads"() {
            given:
            def ref = new CurrentBuildOperationRef()
            def conditions = new AsyncConditions(3)
    
            def op = new DefaultBuildOperationRef(new OperationIdentifier(1), new OperationIdentifier(2))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 14:19:43 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. src/runtime/testdata/testprog/syscall_windows.go

    			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)
  8. guava/src/com/google/common/eventbus/AllowConcurrentEvents.java

    import java.lang.annotation.Target;
    
    /**
     * Marks an event subscriber method as being thread-safe. This annotation indicates that EventBus
     * may invoke the event subscriber simultaneously from multiple threads.
     *
     * <p>This does not mark the method, and so should be used in combination with {@link Subscribe}.
     *
     * @author Cliff Biffle
     * @since 10.0
     */
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.METHOD)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/dsl/org.gradle.api.plugins.quality.PmdExtension.xml

                </tr>
                <tr>
                    <td>incrementalAnalysis</td>
                    <td><literal>false</literal></td>
                </tr>
                <tr>
                    <td>threads</td>
                    <td><literal>1</literal></td>
                </tr>
            </table>
        </section>
        <section>
            <title>Methods</title>
            <table>
                <thead>
                    <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/ResourceLockState.java

         * fails.
         */
        void registerLocked(ResourceLock resourceLock);
    
        /**
         * Registers a resource lock that has been unlocked during the transform so that the coordination service can
         * notify threads waiting on a lock.
         */
        void registerUnlocked(ResourceLock resourceLock);
    
        /**
         * Release any locks that have been acquired during the transform.
         */
        void releaseLocks();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top