jackun
|
a82e27d978
|
Use spdlog macros so logging can be completely disabled during compile-time
|
2021-07-27 16:16:39 +03:00 |
|
jackun
|
2f807a4c0d
|
Add spdlog wrap and logging
|
2021-07-16 04:06:09 +03:00 |
|
jackun
|
e0832c7e02
|
Re-add config file watch in case of IN_DELETE_SELF
|
2020-06-29 14:38:47 +03:00 |
|
jackun
|
467c53d22f
|
Keep track of notifier thread to make sure it exits before notify_thread struct is freed
|
2020-06-08 19:08:01 +03:00 |
|
jackun
|
31f9cce720
|
[COMMENTED] Make inotify monitor new per-app config file or if delete, the main config file again
Needs to be triggered by main config file change.
FIXME what if there's no config file?
|
2020-06-08 19:03:20 +03:00 |
|
FlightlessMango
|
bff9958284
|
Changed pthreads to std::thread
|
2020-05-01 23:55:21 +02:00 |
|
jackun
|
49742e1cea
|
[config] Load config changes to local copy of overlay_params so it does not block rendering thread while parsing
|
2020-03-28 23:32:58 +02:00 |
|
jackun
|
d3f895cbef
|
[config] keep pthread_t pointers in notify_thread struct for MT safety
|
2020-03-24 00:51:30 +02:00 |
|
jackun
|
1b192c4910
|
[config] join notifier thread just to be sure
|
2020-03-24 00:10:03 +02:00 |
|
jackun
|
e72a7bdd76
|
[config] Try to set notifier file descriptor to non-blocking mode; add start/stop_notifier functions
If setting to non-blocking fails, just closing the fd should kill it anyway
|
2020-03-24 00:02:42 +02:00 |
|
jackun
|
841d76c6af
|
Quit config watcher thread if it fails to init and clean up
|
2020-03-23 23:22:22 +02:00 |
|
jackun
|
a0f5cb56a2
|
[config] Guard overlay_params from the thread with mutex
|
2020-03-16 18:52:03 +02:00 |
|
jackun
|
34184abf2e
|
[config] loop in the notifier thread and reload configuration file if it is changed
|
2020-03-16 18:35:01 +02:00 |
|
FlightlessMango
|
c5dad16612
|
Listen for modify on config file
|
2020-03-16 16:48:12 +01:00 |
|