diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-03-23 18:48:42 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-03-23 18:48:42 +0000 |
commit | f9e6de5284aaacd55aa389445cd595bdcaa8339e (patch) | |
tree | a0fd4a21d17c5aa9d6a21c6b1e7e8022e25e6758 /include/inspircd.h | |
parent | 7b6eae36661bc798f69b22393b85a4f06d533cf6 (diff) |
ThreadEngine: remove MutexFactory, mutexes should be constructed using their constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11250 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r-- | include/inspircd.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 469d3a3b6..f32a67644 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -95,6 +95,7 @@ typedef std::multimap< std::string, KeyValList > ConfigDataHash; #include "configreader.h" #include "inspstring.h" #include "protocol.h" +#include "threadengine.h" #ifndef PATH_MAX #warning Potentially broken system, PATH_MAX undefined @@ -396,7 +397,7 @@ class CoreExport InspIRCd : public classbase */ std::map<BufferedSocket*,BufferedSocket*> SocketCull; - Mutex* RehashFinishMutex; + Mutex RehashFinishMutex; /** Globally accessible fake user record. This is used to force mode changes etc across s2s, etc.. bit ugly, but.. better than how this was done in 1.1 * Reason for it: @@ -456,10 +457,6 @@ class CoreExport InspIRCd : public classbase */ ThreadEngine* Threads; - /** Mutex engine, handles mutexes for threading where required - */ - MutexFactory* Mutexes; - /** The thread/class used to read config files in REHASH and on startup */ ConfigReaderThread* ConfigThread; |