Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,013 for _Gwaiting (0.34 sec)

  1. guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    public final class InterruptibleTaskTest extends TestCase {
    
      // Regression test for a deadlock where a task could be stuck busy waiting for the task to
      // transition to DONE
      public void testInterruptThrows() throws Exception {
        final CountDownLatch isInterruptibleRegistered = new CountDownLatch(1);
        InterruptibleTask<@Nullable Void> task =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/ManualEvictionInMemoryCacheTest.groovy

            concurrency.times { idx ->
                executor.submit {
                    String key = "key${idx}"
                    cache.get(key, {
                        println "Waiting for key ${key}"
                        latch.countDown()
                        println "Waiting for key ${key}"
                        latch.await()
                        println "Created key ${key}"
                        key
                    } as Supplier<String>)
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/operations/DefaultBuildOperationQueue.java

                            // block waiting for access to some other project, which means it can proceed even if some other thread is waiting for a project lock it
                            // holds without causing a deadlock. This in turn implies that this thread does not need to release the project locks it holds while
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 31 15:18:20 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Monitor.java

       *
       * @throws InterruptedException if interrupted while waiting
       */
      public void enterInterruptibly() throws InterruptedException {
        lock.lockInterruptibly();
      }
    
      /**
       * Enters this monitor. Blocks at most the given time, and may be interrupted.
       *
       * @return whether the monitor was entered
       * @throws InterruptedException if interrupted while waiting
       * @since 28.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 42.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * ordinary tests.
     *
     * <p>Failure of the expected event to occur within an implementation-defined "reasonable" time
     * period or an interrupt while waiting for the expected event will result in a {@link
     * RuntimeException}.
     *
     * <p>Here's an example that tests a {@code finalize} method:
     *
     * <pre>{@code
     * final CountDownLatch latch = new CountDownLatch(1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. docs/de/docs/deployment/server-workers.md

    [19511] [INFO] Started server process [19511]
    [19511] [INFO] Waiting for application startup.
    [19511] [INFO] Application startup complete.
    [19513] [INFO] Started server process [19513]
    [19513] [INFO] Waiting for application startup.
    [19513] [INFO] Application startup complete.
    [19514] [INFO] Started server process [19514]
    [19514] [INFO] Waiting for application startup.
    [19514] [INFO] Application startup complete.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:19:25 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testcshared/testdata/main5.c

    	if (raise(SIGIO) < 0) {
    		die("raise");
    	}
    
    	if (verbose) {
    		fprintf(stderr, "waiting for sigioSeen\n");
    	}
    
    	// Wait until the signal has been delivered.
    	i = 0;
    	while (!sigioSeen) {
    		ts.tv_sec = 0;
    		ts.tv_nsec = 1000000;
    		nanosleep(&ts, NULL);
    		i++;
    		if (i > 5000) {
    			fprintf(stderr, "looping too long waiting for signal\n");
    			exit(EXIT_FAILURE);
    		}
    	}
    
    	sigioSeen = 0;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. src/runtime/semasleep_test.go

    		t.Fatalf("StdoutPipe: %v", err)
    	}
    	beforeStart := time.Now()
    	if err := cmd.Start(); err != nil {
    		t.Fatalf("Failed to start command: %v", err)
    	}
    
    	waiting := false
    	doneCh := make(chan error, 1)
    	t.Cleanup(func() {
    		cmd.Process.Kill()
    		if waiting {
    			<-doneCh
    		} else {
    			cmd.Wait()
    		}
    	})
    
    	// Wait for After1 to close its stdout so that we know the runtime's SIGIO
    	// handler is registered.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:48:24 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. src/runtime/select.go

    	// pass 2 - enqueue on all chans
    	gp = getg()
    	if gp.waiting != nil {
    		throw("gp.waiting != nil")
    	}
    	nextp = &gp.waiting
    	for _, casei := range lockorder {
    		casi = int(casei)
    		cas = &scases[casi]
    		c = cas.c
    		sg := acquireSudog()
    		sg.g = gp
    		sg.isSelect = true
    		// No stack splits between assigning elem and enqueuing
    		// sg on gp.waiting where copystack can find it.
    		sg.elem = cas.elem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 13 21:36:04 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/debug/dump.go

    )
    
    // QueueSetDump is an instant dump of queue-set.
    type QueueSetDump struct {
    	Queues                     []QueueDump
    	QueuelessExecutingRequests []RequestDump
    	Waiting                    int
    	Executing                  int
    	SeatsInUse                 int
    	SeatsWaiting               int
    	Dispatched                 int
    	Rejected                   int
    	Timedout                   int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 17:38:43 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top