From b0bd74e35e935aa976b68c594def4e8d2c22ef95 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Sat, 16 Jan 2010 11:20:23 +0100 Subject: Replaced polling loop for LCR and chan_lcr with select based event loop. Now LCR and chan_lcr will not use any CPU until there is work to do. --- main.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'main.h') diff --git a/main.h b/main.h index 0dc82d4..9b750e1 100644 --- a/main.h +++ b/main.h @@ -136,6 +136,7 @@ extern "C" { } #endif #include "macro.h" +#include "select.h" #include "options.h" #include "interface.h" #include "extension.h" @@ -168,11 +169,6 @@ extern "C" { #include "trace.h" extern int quit; -extern double now_d; -extern time_t now; -extern struct tm *now_tm; -extern struct timeval now_tv; -extern struct timezone now_tz; #define DIRECTION_NONE 0 #define DIRECTION_OUT 1 -- cgit v1.2.3-55-g7522