interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / compat / fsmonitor / fsm-health-linux.c

33 lines · 775 bytes Raw Blame History
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
16int fsm_health__ctor(struct fsmonitor_daemon_state *state UNUSED)
17{
18 return 0;
19}
20
21void fsm_health__dtor(struct fsmonitor_daemon_state *state UNUSED)
22{
23 return;
24}
25
26void fsm_health__loop(struct fsmonitor_daemon_state *state UNUSED)
27{
28 return;
29}
30
31void fsm_health__stop_async(struct fsmonitor_daemon_state *state UNUSED)
32{
33}