Add bool return to stopThread

This commit is contained in:
Vinnie Falco
2013-08-04 18:06:58 -07:00
parent fd14957072
commit c8837d07e7
2 changed files with 19 additions and 6 deletions

View File

@@ -109,8 +109,10 @@ public:
thread to finish before killing it by force. A negative
value in here will wait forever.
@see signalThreadShouldExit, threadShouldExit, waitForThreadToExit, isThreadRunning
@returns true if the thread exits, or false if the timeout expires first.
*/
void stopThread (int timeOutMilliseconds = -1);
bool stopThread (int timeOutMilliseconds = -1);
//==============================================================================
/** Returns true if the thread is currently active */