From 2bf39203e828dd22f78a7cd845e264a4a177a343 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Mon, 29 Jul 2013 01:38:58 -0700 Subject: [PATCH] Add infinite wait default to waitForThreadToExit --- modules/beast_core/threads/beast_Thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/beast_core/threads/beast_Thread.h b/modules/beast_core/threads/beast_Thread.h index e0d28b64a..0dda1f9c4 100644 --- a/modules/beast_core/threads/beast_Thread.h +++ b/modules/beast_core/threads/beast_Thread.h @@ -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.