- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 558 for nThreads (0.14 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/operations/BuildOperationConstraint.java
*/ public enum BuildOperationConstraint { /** * Constrain execution by the configured maximum number of workers. */ MAX_WORKERS, /** * Unconstrained execution allowing as many threads as required to a maximum of 10 times the configured workers. */ UNCONSTRAINED
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/async/ServiceLifecycleTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:07:55 UTC 2024 - 6.2K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan14.go
// cgocallback on a new thread calls into runtime.needm -> _cgo_getstackbound // to update gp.stack.lo with the stack bounds. If the G itself is passed to // _cgo_getstackbound, then writes to the same G can be seen on multiple // threads (when the G is reused after thread exit). This would trigger TSAN. /* #include <pthread.h> void go_callback(); static void *thr(void *arg) { go_callback(); return 0; }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/jmh/java/org/gradle/internal/reflect/HashingAlgorithmsBenchmark.java
import org.openjdk.jmh.annotations.State; import org.openjdk.jmh.annotations.Threads; import org.openjdk.jmh.annotations.Warmup; import org.openjdk.jmh.infra.Blackhole; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Map; import java.util.Random; @Fork(1) @Threads(4) @Warmup(iterations = 5) @Measurement(iterations = 5) @State(Scope.Benchmark)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 5.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/operations/DefaultBuildOperationQueue.java
// finishing an execution node. Adding this constraint here means that we can make all build operation queue workers compliant with this // constraint and then gradually roll this out to other worker threads, such as task action workers. //
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 31 15:18:20 UTC 2023 - 10.4K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/stack_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.1K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/libgo4/libgo4.go
package main import "C" import ( "fmt" "os" "runtime" ) // 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 {} }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 864 bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/util/internal/DisconnectableInputStream.java
import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; /** * An {@code InputStream} which reads from the source {@code InputStream}. In addition, when the {@code InputStream} is * closed, all threads blocked reading from the stream will receive an end-of-stream. */ public class DisconnectableInputStream extends BulkReadInputStream { private final Lock lock = new ReentrantLock();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 07 08:18:46 UTC 2021 - 6.5K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/CrossProcessCacheAccess.java
package org.gradle.cache; import java.util.function.Supplier; public interface CrossProcessCacheAccess { /** * Runs the given action while this process is holding an exclusive file lock on the cache. Multiple threads may run concurrently. */ <T> T withFileLock(Supplier<T> factory); /** * Acquires an exclusive file lock on the cache. The caller is responsible for running the resulting action to release the lock.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 1.1K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/dispatch/AsyncDispatch.java
import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; /** * <p>A {@link Dispatch} implementation which delivers messages asynchronously. Calls to * {@link #dispatch} queue the message. Worker threads deliver the messages in the order they have been received to one * of a pool of delegate {@link Dispatch} instances.</p> */ public class AsyncDispatch<T> implements Dispatch<T>, AsyncStoppable { private enum State {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 6.7K bytes - Viewed (0)