Raw
1 #include "git-compat-util.h"
2 #include "config.h"
3 #include "fsmonitor-ll.h"
4 #include "fsm-health.h"
5 #include "fsmonitor--daemon.h"
6
7 /*
8 * The Linux fsmonitor implementation uses inotify which has its own
9 * mechanisms for detecting filesystem unmount and other events that
10 * would require the daemon to shutdown. Therefore, we don't need
11 * a separate health thread like Windows does.
12 *
13 * These stub functions satisfy the interface requirements.
14 */
15
16 int fsm_health__ctor(struct fsmonitor_daemon_state *state UNUSED)
17 {
18 return 0;
19 }
20
21 void fsm_health__dtor(struct fsmonitor_daemon_state *state UNUSED)
22 {
23 return;
24 }
25
26 void fsm_health__loop(struct fsmonitor_daemon_state *state UNUSED)
27 {
28 return;
29 }
30
31 void fsm_health__stop_async(struct fsmonitor_daemon_state *state UNUSED)
32 {
33 }