mirror: Use libev to provide an event loop inside the mirror thread

We're doing this so we can implement bandwidth controls sanely.
This commit is contained in:
nick
2013-08-09 17:02:10 +01:00
parent 754949d43f
commit c2df38c9d3
4 changed files with 434 additions and 119 deletions

View File

@@ -22,7 +22,7 @@ TEST_SOURCES = FileList['tests/unit/*.c']
TEST_OBJECTS = TEST_SOURCES.pathmap( "%{^tests/unit,build/tests}X.o" )
LIBS = %w( pthread )
LDFLAGS = ["-lrt"]
LDFLAGS = ["-lrt -lev"]
CCFLAGS = %w(
-D_GNU_SOURCE=1
-Wall