From e9cd5a6826f198029ee466ae63d56dca4dfa4ad7 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 10 Jan 2017 15:54:52 +0100 Subject: llmnrd: merge rtnl interface event loop into main select() loops Instead of spawming a thread for the sole purpose of watching the rtnl for (presumably) seldom events, just merge the select() for all sockets together in one single main loop. This reduces unnecessary complexity and makes llmnrd no longer require any locking. It also allows us to handle signals in a thread-safe manner (as there aren't any ;) and thus the race condition on exit reported in #20 Closes #20 Signed-off-by: Tobias Klauser --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0de1919..0f53165 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ VERSION = 0.2.1 # llmnrd binary D_P = llmnrd D_OBJS = llmnr.o iface.o socket.o util.o llmnrd.o -D_LIBS = -lpthread +D_LIBS = # llmnr-query binary Q_P = llmnr-query -- cgit v1.2.3-54-g00ecf