Add infinite wait default to waitForThreadToExit

This commit is contained in:
Vinnie Falco
2013-07-29 01:38:58 -07:00
parent 50c1e75411
commit ae4071d1e0
3 changed files with 56 additions and 46 deletions

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.