From d56e60139a8c8f9fad434917ea236e8d2b1ea5ae Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 1 Dec 2005 23:59:40 +0000 Subject: Multithreaded DNS -- not tested!!!! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2088 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 32c29a75d..fc286895f 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -60,6 +60,11 @@ userrec::userrec() invites.clear(); } +userrec::~userrec() +{ + pthread_kill(this->dnsthread,9); +} + void userrec::CloseSocket() { shutdown(this->fd,2); -- cgit v1.2.3