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/commands/cmd_rehash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands') diff --git a/src/commands/cmd_rehash.cpp b/src/commands/cmd_rehash.cpp index 1d3d5afbc..4182de830 100644 --- a/src/commands/cmd_rehash.cpp +++ b/src/commands/cmd_rehash.cpp @@ -68,7 +68,7 @@ CmdResult CommandRehash::Handle (const std::vector& parameters, Use ServerInstance->Config->RehashParameter = parameters.size() ? parameters[0] : ""; ServerInstance->ConfigThread = new ConfigReaderThread(ServerInstance, false, ServerInstance->Config->RehashUserUID); - ServerInstance->Threads->Create(ServerInstance->ConfigThread); + ServerInstance->Threads->Start(ServerInstance->ConfigThread); } else { -- cgit v1.2.3