From 7b6eae36661bc798f69b22393b85a4f06d533cf6 Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 23 Mar 2009 18:48:32 +0000 Subject: ThreadEngine: remove excessive mutex use on thread creation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11249 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server.cpp') diff --git a/src/server.cpp b/src/server.cpp index 56970054d..3e607e032 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -58,7 +58,7 @@ void RehashHandler::Call(const std::string &reason) Server->Config->RehashParameter = ""; Server->ConfigThread = new ConfigReaderThread(Server, false, ""); - Server->Threads->Create(Server->ConfigThread); + Server->Threads->Start(Server->ConfigThread); } Server->RehashFinishMutex->Unlock(); } -- cgit v1.2.3