diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-09-04 11:03:58 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-09-04 11:03:58 +0000 |
commit | bc770c5388bc5517be85afb43255cb9f8ead0d33 (patch) | |
tree | 2047bbe65b6c4d2e9707ed59577d5f2de3eaca4e /src | |
parent | 2a0c6c52d045fe3a6dda9bf0209be250fa486d6b (diff) |
MutexEngine -> MutexFactory, more sensible name
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10385 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/threadengines/threadengine_pthread.cpp | 4 | ||||
-rw-r--r-- | src/threadengines/threadengine_win32.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
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); } |