mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add bool return to stopThread
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user