forked from boostorg/beast
Add Thread::stopThreadAsync
This commit is contained in:
1 parent
4f7dca3e5a
commit
a1ec423235
2 files changed
+16
No files matched your search
@@ -110,6 +110,11 @@ public:
|
||||
*/
|
||||
bool stopThread (int timeOutMilliseconds = -1);
|
||||
|
||||
/** Stop the thread without blocking.
|
||||
This calls signalThreadShouldExit followed by notify.
|
||||
*/
|
||||
void stopThreadAsync ();
|
||||
|
||||
//==============================================================================
|
||||
/** Returns true if the thread is currently active */
|
||||
bool isThreadRunning() const;
|
||||
|
||||
Reference in new issue
Block a user