Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,234 for toRead (0.15 sec)

  1. src/cmd/trace/threadgen.go

    		gs.rangeEnd(ev.Time(), r.Name, ev.Stack(), ctx)
    	}
    }
    
    func (g *threadGenerator) GoroutineTransition(ctx *traceContext, ev *trace.Event) {
    	if ev.Thread() != trace.NoThread {
    		if _, ok := g.threads[ev.Thread()]; !ok {
    			g.threads[ev.Thread()] = struct{}{}
    		}
    	}
    
    	st := ev.StateTransition()
    	goID := st.Resource.Goroutine()
    
    	// If we haven't seen this goroutine before, create a new
    	// gState for it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

      // ----------------------------------------------------------------
    
      class Interruptenator extends Thread {
        final AtomicBoolean shutdown;
    
        Interruptenator(final Thread interruptee) {
          this(interruptee, new AtomicBoolean(false));
        }
    
        Interruptenator(final Thread interruptee, final AtomicBoolean shutdown) {
          super(
              new Runnable() {
                @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

                });
        assertFalse(task.isDone());
        Thread thread =
            new Thread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
                      task.run();
                    } finally {
                      exitLatch.countDown();
                    }
                  }
                });
        thread.start();
        enterLatch.await();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/resources/DefaultLease.java

        protected boolean doIsLockedByCurrentThread() {
            return Thread.currentThread() == ownerThread;
        }
    
        @Override
        protected boolean acquireLock() {
            if (parent.grantLease()) {
                ownerThread = Thread.currentThread();
            }
            return ownerThread != null;
        }
    
        @Override
        protected void releaseLock() {
            if (Thread.currentThread() != ownerThread) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

         *       observing a null thread does not mean the object is safe to reuse.
         *   <li>If this field's value is some other thread object, we know that it's not our thread.
         *   <li>If this field's value == null because it originally belonged to another thread and that
         *       thread cleared it, we still know that it's not associated with our thread
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultConditionalExecutionQueueTest.groovy

                thread.blockUntil.execution3Released
            })
    
            expect:
            async {
                queue.submit(execution1)
                queue.submit(execution2)
                queue.submit(execution3)
    
                thread.blockUntil.execution1Started
                thread.blockUntil.execution2Started
                thread.blockUntil.execution3Started
    
                instant.execution2Released
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/internal/daemon/clientinput/StdInStreamTest.groovy

                start {
                    def b1 = stream.read()
                    assert b1 == bytes[0]
                    def b2 = stream.read()
                    assert b2 == bytes[1]
                }
                thread.blockUntil.requested
                thread.block()
                stream.received(bytes)
            }
    
            then:
            1 * dispatch.onOutput({ it instanceof ReadStdInEvent }) >> { instant.requested }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

         *
         * 1. The client thread begins to block on a get() call to a future.
         * 2. The client thread is interrupted sometime before the result would be
         *   available.
         * 3. We expect the client's get() to throw an InterruptedException.
         * 4. We expect the client thread's interrupt state to be false.
         * 5. The client thread again makes a blocking call to get().
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/async/ServiceLifecycle.java

                }
                Integer depth = usages.get(Thread.currentThread());
                if (depth == null) {
                    usages.put(Thread.currentThread(), 1);
                } else {
                    usages.put(Thread.currentThread(), depth + 1);
                }
            } finally {
                lock.unlock();
            }
    
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:55 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

      // ----------------------------------------------------------------
    
      class Interruptenator extends Thread {
        final AtomicBoolean shutdown;
    
        Interruptenator(final Thread interruptee) {
          this(interruptee, new AtomicBoolean(false));
        }
    
        Interruptenator(final Thread interruptee, final AtomicBoolean shutdown) {
          super(
              new Runnable() {
                @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top