diff options
Diffstat (limited to 'include/threadengine.h')
-rw-r--r-- | include/threadengine.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/threadengine.h b/include/threadengine.h index 59d425481..4e0db0bfc 100644 --- a/include/threadengine.h +++ b/include/threadengine.h @@ -82,6 +82,16 @@ class CoreExport ThreadEngine : public Extensible } }; +class CoreExport Mutex : public Extensible +{ + protected: + InspIRCd* ServerInstance; + public: + Mutex(InspIRCd* Instance); + virtual void Enable(bool enable) = 0; + ~Mutex() { } +}; + /** Derive from this class to implement your own threaded sections of * code. */ |