Browse Source

Improved the idling of socket InterprocessConnections

tags/2021-05-28
Tom Poole 8 years ago
parent
commit
fe7f34f0fa
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      modules/juce_events/interprocess/juce_InterprocessConnection.cpp
  2. +1
    -1
      modules/juce_events/interprocess/juce_InterprocessConnectionServer.h

+ 1
- 1
modules/juce_events/interprocess/juce_InterprocessConnection.cpp View File

@@ -325,7 +325,7 @@ void InterprocessConnection::runThread()
{
if (socket != nullptr)
{
auto ready = socket->waitUntilReady (true, 0);
auto ready = socket->waitUntilReady (true, 100);
if (ready < 0)
{


+ 1
- 1
modules/juce_events/interprocess/juce_InterprocessConnectionServer.h View File

@@ -48,7 +48,7 @@ public:
//==============================================================================
/** Starts an internal thread which listens on the given port number.
While this is running, in another process tries to connect with the
While this is running, if another process tries to connect with the
InterprocessConnection::connectToSocket() method, this object will call
createConnectionObject() to create a connection to that client.


Loading…
Cancel
Save