summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/threadengine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/threadengine.h b/include/threadengine.h
index 4e0db0bfc..9c87f83b2 100644
--- a/include/threadengine.h
+++ b/include/threadengine.h
@@ -89,6 +89,8 @@ class CoreExport Mutex : public Extensible
public:
Mutex(InspIRCd* Instance);
virtual void Enable(bool enable) = 0;
+ void Lock() { Enable(true); }
+ void Unlock() { Enable(false); }
~Mutex() { }
};