fsmonitor--daemon: implement 'run' command
commit9dcba0ba08d0e843eda1f141c99c72e0aa67811f
authorJeff Hostetler <jeffhost@microsoft.com>
Fri, 25 Mar 2022 18:02:53 +0000 (25 18:02 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 25 Mar 2022 23:04:15 +0000 (25 16:04 -0700)
tree8fadb67cc9682f65c3b5078ab4acac832bf832ee
parentf67df2556f372f6095270bf870f32ff84def2e4b
fsmonitor--daemon: implement 'run' command

Implement `run` command to try to begin listening for file system events.

This version defines the thread structure with a single fsmonitor_fs_listen
thread to watch for file system events and a simple IPC thread pool to
watch for connection from Git clients over a well-known named pipe or
Unix domain socket.

This commit does not actually do anything yet because the platform
backends are still just stubs.

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fsmonitor--daemon.c
fsmonitor--daemon.h [new file with mode: 0644]