diff --git a/modules/beast_core/threads/beast_Thread.h b/modules/beast_core/threads/beast_Thread.h index 0dda1f9c4..2a3027264 100644 --- a/modules/beast_core/threads/beast_Thread.h +++ b/modules/beast_core/threads/beast_Thread.h @@ -113,7 +113,7 @@ public: value in here will wait forever. @see signalThreadShouldExit, threadShouldExit, waitForThreadToExit, isThreadRunning */ - void stopThread (int timeOutMilliseconds); + void stopThread (int timeOutMilliseconds = -1); //============================================================================== /** Returns true if the thread is currently active */ @@ -205,7 +205,7 @@ public: @returns true if the event has been signalled, false if the timeout expires. */ - bool wait (int timeOutMilliseconds) const; + bool wait (int timeOutMilliseconds = -1) const; /** Wakes up the thread.