From d3f0dfdf9624b14685cad521d7bffc2da315450f Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 12 Dec 2005 12:51:13 +0000 Subject: Tied in DNS to SocketEngine git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2333 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/dns.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dns.cpp b/src/dns.cpp index 0fd8b5602..9d67d5c12 100644 --- a/src/dns.cpp +++ b/src/dns.cpp @@ -693,6 +693,10 @@ bool DNS::HasResult(int fd) return (fd == this->myfd); } +/* Only the multithreaded dns uses this poll() based + * check now. As its in another thread we dont have + * to worry about its performance that much. + */ bool DNS::HasResult() { log(DEBUG,"DNS: HasResult, fd=%d",this->myfd); -- cgit v1.2.3