mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-17 02:15:22 +02:00
Fix broken thread stop handling
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user