Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for receiveQueue (0.1 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DefaultDaemonConnection.java

        private final ManagedExecutor executor;
        private final StdinQueue stdinQueue;
        private final DisconnectQueue disconnectQueue;
        private final CancelQueue cancelQueue;
        private final ReceiveQueue receiveQueue;
        private volatile boolean stopping;
    
        public DefaultDaemonConnection(final SynchronizedDispatchConnection<Message> connection, ExecutorFactory executorFactory) {
            this.connection = connection;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DefaultDaemonConnectionTest.groovy

                synchronized (lock) {
                    receiveQueue << message
                    lock.notifyAll()
                }
            }
    
            void queueBroken(Throwable failure = new RuntimeException()) {
                queueIncoming(new Failure(failure))
            }
    
            Message receive() {
                synchronized (lock) {
                    while (receiveQueue.empty) {
                        lock.wait()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top