summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/inspircd.h2
-rw-r--r--include/threadengines/threadengine_pthread.h4
-rw-r--r--include/threadengines/threadengine_win32.h4
-rw-r--r--src/threadengines/threadengine_pthread.cpp4
-rw-r--r--src/threadengines/threadengine_win32.cpp4
5 files changed, 9 insertions, 9 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 09bf02ba5..566550376 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -448,7 +448,7 @@ class CoreExport InspIRCd : public classbase
/** Mutex engine, handles mutexes for threading where required
*/
- MutexEngine* Mutexes;
+ MutexFactory* Mutexes;
/** The thread/class used to read config files in REHASH and on startup
*/
diff --git a/include/threadengines/threadengine_pthread.h b/include/threadengines/threadengine_pthread.h
index e3f8b0860..76548c252 100644
--- a/include/threadengines/threadengine_pthread.h
+++ b/include/threadengines/threadengine_pthread.h
@@ -64,12 +64,12 @@ class CoreExport PosixMutex : public Mutex
~PosixMutex();
};
-class CoreExport MutexEngine : public Extensible
+class CoreExport MutexFactory : public Extensible
{
protected:
InspIRCd* ServerInstance;
public:
- MutexEngine(InspIRCd* Instance);
+ MutexFactory(InspIRCd* Instance);
Mutex* CreateMutex();
};
diff --git a/include/threadengines/threadengine_win32.h b/include/threadengines/threadengine_win32.h
index e19f24ca0..9179d1fcf 100644
--- a/include/threadengines/threadengine_win32.h
+++ b/include/threadengines/threadengine_win32.h
@@ -63,12 +63,12 @@ class CoreExport Win32Mutex : public Mutex
~Win32Mutex();
};
-class CoreExport MutexEngine : public Extensible
+class CoreExport MutexFactory : public Extensible
{
protected:
InspIRCd* ServerInstance;
public:
- MutexEngine(InspIRCd* Instance);
+ MutexFactory(InspIRCd* Instance);
virtual Mutex* CreateMutex();
};
diff --git a/src/threadengines/threadengine_pthread.cpp b/src/threadengines/threadengine_pthread.cpp
index a1993af45..66898bf25 100644
--- a/src/threadengines/threadengine_pthread.cpp
+++ b/src/threadengines/threadengine_pthread.cpp
@@ -105,11 +105,11 @@ void PThreadEngine::FreeThread(Thread* thread)
}
}
-MutexEngine::MutexEngine(InspIRCd* Instance) : ServerInstance(Instance)
+MutexFactory::MutexFactory(InspIRCd* Instance) : ServerInstance(Instance)
{
}
-Mutex* MutexEngine::CreateMutex()
+Mutex* MutexFactory::CreateMutex()
{
return new PosixMutex(this->ServerInstance);
}
diff --git a/src/threadengines/threadengine_win32.cpp b/src/threadengines/threadengine_win32.cpp
index e2b58b42e..180ded0ea 100644
--- a/src/threadengines/threadengine_win32.cpp
+++ b/src/threadengines/threadengine_win32.cpp
@@ -86,11 +86,11 @@ void Win32ThreadEngine::FreeThread(Thread* thread)
}
-MutexEngine::MutexEngine(InspIRCd* Instance) : ServerInstance(Instance)
+MutexFactory::MutexFactory(InspIRCd* Instance) : ServerInstance(Instance)
{
}
-Mutex* MutexEngine::CreateMutex()
+Mutex* MutexFactory::CreateMutex()
{
return new Win32Mutex(this->ServerInstance);
}