[config] loop in the notifier thread and reload configuration file if it is changed
parent
341aa21b87
commit
34184abf2e
@ -1,5 +1,11 @@
|
||||
#include <thread>
|
||||
#include "overlay_params.h"
|
||||
|
||||
struct notify_thread
|
||||
{
|
||||
overlay_params *params = nullptr;
|
||||
bool quit = false;
|
||||
};
|
||||
|
||||
extern pthread_t fileChange;
|
||||
extern void *fileChanged(void *params_void);
|
Loading…
Reference in New Issue