diff options
Diffstat (limited to 'include/threadengines')
-rw-r--r-- | include/threadengines/threadengine_pthread.h | 6 | ||||
-rw-r--r-- | include/threadengines/threadengine_win32.h | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/include/threadengines/threadengine_pthread.h b/include/threadengines/threadengine_pthread.h index 76548c252..bd07f0ea9 100644 --- a/include/threadengines/threadengine_pthread.h +++ b/include/threadengines/threadengine_pthread.h @@ -23,14 +23,16 @@ class InspIRCd; class CoreExport PThreadEngine : public ThreadEngine { + private: + + bool Mutex(bool enable); + public: PThreadEngine(InspIRCd* Instance); virtual ~PThreadEngine(); - bool Mutex(bool enable); - void Run(); static void* Entry(void* parameter); diff --git a/include/threadengines/threadengine_win32.h b/include/threadengines/threadengine_win32.h index 9179d1fcf..1915ecc7b 100644 --- a/include/threadengines/threadengine_win32.h +++ b/include/threadengines/threadengine_win32.h @@ -22,14 +22,16 @@ class InspIRCd; class CoreExport Win32ThreadEngine : public ThreadEngine { + protected: + + bool Mutex(bool enable); + public: Win32ThreadEngine(InspIRCd* Instance); virtual ~Win32ThreadEngine(); - bool Mutex(bool enable); - void Run(); static DWORD WINAPI Entry(void* parameter); |