- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,049 for thread1 (0.19 sec)
-
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
assertFalse(completed); thread.start(); thread.join(); assertTrue(completed); // Creating a new thread from the same ThreadFactory will have the same // pool ID but a thread ID of 2. Thread thread2 = threadFactory.newThread(monitoredRunnable); checkThreadPoolName(thread2, 2); assertEquals(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 7.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
assertFalse(completed); thread.start(); thread.join(); assertTrue(completed); // Creating a new thread from the same ThreadFactory will have the same // pool ID but a thread ID of 2. Thread thread2 = threadFactory.newThread(monitoredRunnable); checkThreadPoolName(thread2, 2); assertEquals(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 7.5K bytes - Viewed (0) -
analysis/analysis-api-impl-barebone/src/org/jetbrains/kotlin/analysis/api/impl/barebone/annotations/threads.kt
Yan Zhulanow <******@****.***> 1633428486 +0900
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Oct 20 16:41:23 UTC 2021 - 462 bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/bindm.go
started = atomic.Uint32{} ) // same as CTHREADS in C, make sure all the C threads are actually started. const cThreadNum = 2 func init() { register("EnsureBindM", EnsureBindM) } //export GoCheckBindM func GoCheckBindM(thread uintptr) { // Wait all threads start if started.Load() != cThreadNum { // Only once for each thread, since it will wait all threads start. started.Add(1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 1.2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/cthread_unix.c
for(i=0; i<nthread; i++) pthread_join(thread_id[i], 0); } static void* goDummyCallbackThread(void* p) { int i, max; max = *(int*)p; for(i=0; i<max; i++) goDummy(); return NULL; } int callGoInCThread(int max) { pthread_t thread; if (pthread_create(&thread, NULL, goDummyCallbackThread, (void*)(&max)) != 0) return -1; if (pthread_join(thread, NULL) != 0) return -1;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 1K 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) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 1.1K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/TestExecutor.groovy
logger.log "timeout waiting for ${threads.size()} threads to complete" threads.each { thread -> IllegalStateException e = new IllegalStateException("Timeout waiting for ${thread.name} to complete.") e.stackTrace = thread.stackTrace if (failure == null) { failure = e } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
// Thread#setPriority() already checks for validity. These error messages // are nicer though and will fail-fast. checkArgument( priority >= Thread.MIN_PRIORITY, "Thread priority (%s) must be >= %s", priority, Thread.MIN_PRIORITY); checkArgument( priority <= Thread.MAX_PRIORITY, "Thread priority (%s) must be <= %s", priority, Thread.MAX_PRIORITY);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 10 21:56:03 UTC 2023 - 7.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java
* <p> * This builder uses a number of threads equal to the minimum of the degree of concurrency (which is the thread count * set with <code>-T</code> on the command-line) and the number of projects to build. As such, building a single project * will always result in a sequential build, regardless of the thread count. * </p>
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Sep 22 09:07:17 UTC 2023 - 9.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
// Thread#setPriority() already checks for validity. These error messages // are nicer though and will fail-fast. checkArgument( priority >= Thread.MIN_PRIORITY, "Thread priority (%s) must be >= %s", priority, Thread.MIN_PRIORITY); checkArgument( priority <= Thread.MAX_PRIORITY, "Thread priority (%s) must be <= %s", priority, Thread.MAX_PRIORITY);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 10 21:56:03 UTC 2023 - 7.6K bytes - Viewed (0)