Add infinite wait default to waitForThreadToExit

This commit is contained in:
Vinnie Falco
2013-07-29 01:38:58 -07:00
parent d323a84dd9
commit 2bf39203e8

View File

@@ -150,7 +150,7 @@ public:
is less than zero, it will wait forever.
@returns true if the thread exits, or false if the timeout expires first.
*/
bool waitForThreadToExit (int timeOutMilliseconds) const;
bool waitForThreadToExit (int timeOutMilliseconds = -1) const;
//==============================================================================
/** Changes the thread's priority.