Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 22 for notifyAll (0.06 seconds)

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

        synchronized (lock) {
          return shutdown;
        }
      }
    
      @Override
      public void shutdown() {
        synchronized (lock) {
          shutdown = true;
          if (runningTasks == 0) {
            lock.notifyAll();
          }
        }
      }
    
      // See newDirectExecutorService javadoc for unusual behavior of this method.
      @Override
      public List<Runnable> shutdownNow() {
        shutdown();
        return ImmutableList.of();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 16 14:23:59 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

                    if (coordinatorTask != null) {
                      waitingCoordinatorNotified = true
                      currentTask = coordinatorTask
                      taskRunner.notifyAll()
                    } else {
                      startNextTask()
                    }
                  }
                }
            }
    
            override fun coordinatorWait(
              taskRunner: TaskRunner,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  3. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

      }
    
      /** Set the OAuth session for this client. */
      public synchronized void initOauthSession(OAuthSession session) {
        this.session = session;
        this.notifyAll();
      }
    
      /** Waits for an OAuth session for this client to be set. */
      public synchronized void awaitAccessToken(Timeout timeout) throws InterruptedIOException {
        while (session == null) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 3.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/TestLocking.java

                        logger.debug("delay={}", delay);
                    }
                    Thread.sleep(delay);
                } while (delay > 2);
    
                synchronized (t) {
                    t.notifyAll();
                }
                //System.out.println("numComplete=" + t.numComplete + ",numThreads=" + t.numThreads);
            }
    
            for (ti = 0; ti < t.numThreads; ti++) {
                threads[ti].join();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbTreeImpl.java

                        } finally {
                            this.connectionState.set(0);
                        }
                        throw se;
                    } finally {
                        transport.notifyAll();
                    }
                }
            }
        }
    
        /**
         * @param transport
         * @param sess
         * @param response
         * @throws IOException
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/SmbSession.java

                } catch (final SmbException se) {
                    logoff(true);
                    connectionState = 0;
                    throw se;
                } finally {
                    transport.notifyAll();
                }
            }
        }
    
        void logoff(final boolean inError) {
            synchronized (transport()) {
    
                if (connectionState != 2) { // not-connected
                    return;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTree.java

                        }
                    }
                }
                inDfs = false;
                inDomainDfs = false;
    
                connectionState = 0;
    
                session.transport.notifyAll();
            }
        }
    
        @Override
        public String toString() {
            return "SmbTree[share=" + share + ",service=" + service + ",tid=" + tid + ",inDfs=" + inDfs + ",inDomainDfs=" + inDomainDfs
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

                            // responses
                            logoff(true, true);
                        }
                        throw se;
                    } finally {
                        trans.notifyAll();
                    }
                }
            }
        }
    
        /**
         * @param trans
         * @param chain
         * @param andxResponse
         * @throws SmbException
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            return obj;
        }
    
        private void updateLookupTable(final Name name) {
            synchronized (this.inFlightLookups) {
                this.inFlightLookups.remove(name);
                this.inFlightLookups.notifyAll();
            }
        }
    
        void cacheAddress(final Name hostName, final NbtAddress addr) {
            if (this.transportContext.getConfig().getNetbiosCachePolicy() == 0) {
                return;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/util/transport/Transport.java

                                for (final Response response : this.response_map.values()) {
                                    synchronized (response) {
                                        response.notifyAll();
                                    }
                                }
                                continue;
                            }
    
                            if (log.isDebugEnabled()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 27.8K bytes
    - Click Count (0)
Back to Top