[config] Guard overlay_params from the thread with mutex
parent
34184abf2e
commit
a0f5cb56a2
@ -1,10 +1,12 @@
|
||||
#include <thread>
|
||||
#include <mutex>
|
||||
#include "overlay_params.h"
|
||||
|
||||
struct notify_thread
|
||||
{
|
||||
overlay_params *params = nullptr;
|
||||
bool quit = false;
|
||||
std::mutex mutex;
|
||||
};
|
||||
|
||||
extern pthread_t fileChange;
|
||||
|
Loading…
Reference in New Issue