Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for reentrant (0.14 sec)

  1. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

           * class with a manual reference back to the "containing" class.)
           *
           * This has the nice-ish side effect of limiting reentrancy: run() calls
           * timeoutFuture.setException() calls run(). That reentrancy would already be harmless, since
           * timeoutFuture can be set (and delegate cancelled) only once. (And "set only once" is
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

     * using a lock, however it is dangerous to dispatch listeners while holding a lock because they
     * might run on the {@code directExecutor()} or be otherwise re-entrant (call back into your
     * object). So it is important to not call {@link #dispatch} while holding any locks. This is why
     * {@link #enqueue} and {@link #dispatch} are 2 different methods. It is expected that the decision
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                },
                directExecutor()));
        thingToCancel[0] = serializer.submit(Callables.returning(null), directExecutor());
        results.add(thingToCancel[0]);
        // Enqueue more than enough tasks to force reentrancy.
        for (int i = 0; i < 5; i++) {
          results.add(serializer.submit(Callables.returning(null), directExecutor()));
        }
    
        manualExecutorTask[0].run();
    
        for (Future<?> result : results) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 01:35:55 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

     * using a lock, however it is dangerous to dispatch listeners while holding a lock because they
     * might run on the {@code directExecutor()} or be otherwise re-entrant (call back into your
     * object). So it is important to not call {@link #dispatch} while holding any locks. This is why
     * {@link #enqueue} and {@link #dispatch} are 2 different methods. It is expected that the decision
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

     *
     * Events and sequences of events may be repeated for retries and follow-ups.
     *
     * All event methods must execute fast, without external locking, cannot throw exceptions, attempt
     * to mutate the event parameters, or be re-entrant back into the client. Any IO - writing to files
     * or network should be done asynchronously.
     */
    abstract class EventListener {
      /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:03:04 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

            .inTunnel()
            .build(),
        )
        queueDispatcher.enqueue(MockResponse(body = "call2 response"))
        queueDispatcher.enqueue(MockResponse(body = "call1 response"))
    
        // We use a re-entrant dispatcher to initiate one HTTPS connection while the other is in flight.
        server.dispatcher =
          object : Dispatcher() {
            var requestCount = 0
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 67.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        val listener: EventListener =
          object : EventListener() {
            override fun requestHeadersStart(call: Call) {
              try {
                // Cancel call from another thread to avoid reentrance.
                cancelLater(call, 0).join()
              } catch (e: InterruptedException) {
                throw AssertionError()
              }
            }
          }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.22.md

    - API Server tracing can now trace re-entrant api requests. ([#103218](https://github.com/kubernetes/kubernetes/pull/103218), [@dashpole](https://github.com/dashpole)) [SIG API Machinery, CLI, Cloud Provider, Cluster Lifecycle and Instrumentation]
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Tue Dec 13 12:43:45 UTC 2022
    - 454.1K bytes
    - Viewed (0)
Back to top