- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,377 for waitc (0.04 sec)
-
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
} barrier.await(); // release the threads! barrier.await(); // wait for them all to complete assertEquals(1, task.get().intValue()); assertEquals(1, counter.get()); } executor.shutdown(); } @J2ktIncompatible @GwtIncompatible // blocking wait public void testToString() throws Exception { final CountDownLatch enterLatch = new CountDownLatch(1);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 13 14:28:25 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/workerApi/waitForCompletion/groovy/build.gradle
} } // Wait for all asynchronous work submitted to this queue to complete before continuing workQueue.await() logger.lifecycle("Created ${outputDir.get().asFile.listFiles().length} reversed files in ${projectLayout.projectDirectory.asFile.relativePath(outputDir.get().asFile)}") // end::wait-for-completion[] } } task reverseFiles(type: ReverseFiles) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.1K bytes - Viewed (0) -
test/fixedbugs/bug078.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:30 UTC 2012 - 258 bytes - Viewed (0) -
pkg/util/goroutinemap/goroutinemap.go
// Wait blocks until operations map is empty. This is typically // necessary during tests - the test should wait until all operations finish // and evaluate results after that. Wait() // WaitForCompletion blocks until either all operations have successfully completed // or have failed but are not pending. The test should wait until operations are either // complete or have failed.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 16 11:54:27 UTC 2020 - 6.8K bytes - Viewed (0) -
src/unique/handle_test.go
func drainMaps(t *testing.T) { t.Helper() wait := make(chan struct{}, 1) // Set up a one-time notification for the next time the cleanup runs. // Note: this will only run if there's no other active cleanup, so // we can be sure that the next time cleanup runs, it'll see the new // notification. cleanupMu.Lock() cleanupNotify = append(cleanupNotify, func() { select { case wait <- struct{}{}: default: } })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 18:14:07 UTC 2024 - 2.5K bytes - Viewed (0) -
pkg/test/loadbalancersim/mesh/client.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 03 18:19:25 UTC 2022 - 1.5K bytes - Viewed (0) -
pkg/queue/instance_test.go
out = append(out, i) defer mu.Unlock() wg.Done() return nil }) // Start the queue at the halfway point. if i == numValues/2 { go q.Run(stop) } } // wait for all task processed wg.Wait() if len(out) != numValues { t.Fatalf("expected output array length %d to equal %d", len(out), numValues) } for i := 0; i < numValues; i++ { if i != out[i] {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jul 21 16:30:36 UTC 2023 - 3.4K bytes - Viewed (0) -
pkg/kubelet/cloudresource/cloud_request_manager.go
// been saved at least once. The semantics here are: // // * Readers of the result will wait on the monitor until the first result // has been saved. // * The sync loop (i.e. the only writer), will signal all waiters every // time it updates the result. nodeAddressesMonitor: sync.NewCond(&sync.Mutex{}), } } // NodeAddresses waits for the first sync loop to run. If no successful syncs
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 05 18:29:23 UTC 2021 - 4.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_aix.go
} //sys wait4(pid Pid_t, status *_C_int, options int, rusage *Rusage) (wpid Pid_t, err error) func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) { var status _C_int var r Pid_t err = ERESTART // AIX wait4 may return with ERESTART errno, while the processus is still // active. for err == ERESTART { r, err = wait4(Pid_t(pid), &status, options, rusage) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 21:28:33 UTC 2023 - 16.1K bytes - Viewed (0) -
src/runtime/race/testdata/cgo_test_main.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 415 bytes - Viewed (0)