mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Make timeouts default to infinity in Thread
This commit is contained in:
@@ -113,7 +113,7 @@ public:
|
|||||||
value in here will wait forever.
|
value in here will wait forever.
|
||||||
@see signalThreadShouldExit, threadShouldExit, waitForThreadToExit, isThreadRunning
|
@see signalThreadShouldExit, threadShouldExit, waitForThreadToExit, isThreadRunning
|
||||||
*/
|
*/
|
||||||
void stopThread (int timeOutMilliseconds);
|
void stopThread (int timeOutMilliseconds = -1);
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
/** Returns true if the thread is currently active */
|
/** 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.
|
@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.
|
/** Wakes up the thread.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user