summaryrefslogtreecommitdiff
path: root/src/jthread/jthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/jthread/jthread.h')
-rw-r--r--src/jthread/jthread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jthread/jthread.h b/src/jthread/jthread.h
index 92b05f1c5..867701c75 100644
--- a/src/jthread/jthread.h
+++ b/src/jthread/jthread.h
@@ -47,6 +47,7 @@ public:
int Kill();
virtual void *Thread() = 0;
bool IsRunning();
+ bool StopRequested();
void *GetReturnValue();
bool IsSameThread();
protected:
@@ -69,6 +70,7 @@ private:
#endif // WIN32
void *retval;
bool running;
+ bool requeststop;
JMutex runningmutex;
JMutex continuemutex,continuemutex2;