Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for notifyAll (0.19 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java

                    currentStream.println();
                    currentStream.notifyAll();
                }
            }
    
            @Override
            public void print(char c) {
                final PrintStream currentStream = getOutputStreamForCurrentThread();
                synchronized (currentStream) {
                    currentStream.print(c);
                    currentStream.notifyAll();
                }
            }
    
            @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

     * limitations under the License.
     */
    package okhttp3.internal.cache2
    
    import java.io.File
    import java.io.IOException
    import java.io.RandomAccessFile
    import okhttp3.internal.closeQuietly
    import okhttp3.internal.notifyAll
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import okio.Source
    import okio.Timeout
    
    /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

                } while (state != 0);
            } catch (SmbException se) {
                logoff(true);
                connectionState = 0;
                throw se;
            } finally {
                transport.notifyAll();
            }
    }
        }
        void logoff( boolean inError ) {
    synchronized (transport()) {
    
            if (connectionState != 2) // not-connected
                return;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

    @Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN", "NOTHING_TO_INLINE")
    internal inline fun Any.notify() = (this as Object).notify()
    
    @Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN", "NOTHING_TO_INLINE")
    internal inline fun Any.notifyAll() = (this as Object).notifyAll()
    
    internal fun <T> readFieldOrNull(
      instance: Any,
      fieldType: Class<T>,
      fieldName: String,
    ): T? {
      var c: Class<*> = instance.javaClass
      while (c != Any::class.java) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            synchronized ( this ) {
                notifyAll();
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#exception(java.lang.Exception)
         */
        @Override
        public void exception ( Exception e ) {
            this.exception = e;
            synchronized ( this ) {
                notifyAll();
            }
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 32.7K bytes
    - Viewed (0)
  6. 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
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Monitor.java

     *       wait();
     *     }
     *     V result = value;
     *     value = null;
     *     notifyAll();
     *     return result;
     *   }
     *
     *   public synchronized void set(V newValue) throws InterruptedException {
     *     while (value != null) {
     *       wait();
     *     }
     *     value = newValue;
     *     notifyAll();
     *   }
     * }
     * }</pre>
     *
     * <h3>{@code ReentrantLock}</h3>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

            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();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/transport/Transport.java

                                for ( Response response : this.response_map.values() ) {
                                    synchronized ( response ) {
                                        response.notifyAll();
                                    }
                                }
                                continue;
                            }
    
                            if ( log.isDebugEnabled() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            return obj;
        }
    
    
        private void updateLookupTable ( Name name ) {
            synchronized ( this.inFlightLookups ) {
                this.inFlightLookups.remove(name);
                this.inFlightLookups.notifyAll();
            }
        }
    
    
        void cacheAddress ( Name hostName, NbtAddress addr ) {
            if ( this.transportContext.getConfig().getNetbiosCachePolicy() == 0 ) {
                return;
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
Back to top