summaryrefslogtreecommitdiff
path: root/include/threadengines/threadengine_pthread.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-06 14:41:44 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-06 14:41:44 +0000
commit43240de39d64ccd1cc886342002b14f4147a2efc (patch)
tree8ab1b9c8f0fe1e1bd2acceee09aaf65c971cc8d4 /include/threadengines/threadengine_pthread.h
parent66917d76f503114aa891102151595ab51e0be686 (diff)
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
Diffstat (limited to 'include/threadengines/threadengine_pthread.h')
-rw-r--r--include/threadengines/threadengine_pthread.h6
1 files changed, 4 insertions, 2 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);