Use inotify instead of polling on Linux.

This should solve problems people are seeing when a file changes
twice within a second and thus is missed for polling.
This commit is contained in:
Simon Kelley
2014-12-10 17:32:16 +00:00
parent b9ff5c8f43
commit 193de4abf5
5 changed files with 137 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ LOCAL_SRC_FILES := bpf.c cache.c dbus.c dhcp.c dnsmasq.c \
dhcp6.c rfc3315.c dhcp-common.c outpacket.c \
radv.c slaac.c auth.c ipset.c domain.c \
dnssec.c dnssec-openssl.c blockdata.c tables.c \
loop.c
loop.c inotify.c
LOCAL_MODULE := dnsmasq