From 43240de39d64ccd1cc886342002b14f4147a2efc Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 6 Sep 2008 14:41:44 +0000 Subject: Make ThreadEngine::Mutex() protected too, make the user use Lock() and Unlock() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10418 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/threadengines/threadengine_win32.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/threadengines/threadengine_win32.h') 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); -- cgit v1.2.3