[feat] add signal to fs event thread
commit7b0060575657e47ca9edadfd4ebc01e73f8fb72e
authorafify <hassan@afify.dev>
Sat, 22 May 2021 13:24:58 +0000 (22 16:24 +0300)
committerafify <hassan@afify.dev>
Sat, 22 May 2021 13:24:58 +0000 (22 16:24 +0300)
tree535a92e116889322f18ab4fd963af49a8da4615d
parent0ea63bf4f24b7ed021b35bce236b69778e574fe2
[feat] add signal to fs event thread

- file system event listener thread:
- sends a SIGUSR1 to main thread when catching an event
- th_handler() will take needed actions
sfm.c