summaryrefslogtreecommitdiff
path: root/include/threadengine.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-21 17:59:26 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-21 17:59:26 +0000
commit9bc7a6139db7ec7f1da676c486ca309f070a78e4 (patch)
tree64815fe756fac5bcbe61394a4596a137ba615095 /include/threadengine.h
parent62f015300fc0c47337b62017598fef6ea3a6d024 (diff)
ThreadEngine::GetName(), for display in /version
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8985 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/threadengine.h')
-rw-r--r--include/threadengine.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/threadengine.h b/include/threadengine.h
index 397b0085e..59d425481 100644
--- a/include/threadengine.h
+++ b/include/threadengine.h
@@ -75,6 +75,11 @@ class CoreExport ThreadEngine : public Extensible
* is responsible for destroying it.
*/
virtual void FreeThread(Thread* thread) = 0;
+
+ virtual const std::string GetName()
+ {
+ return "<pure-virtual>";
+ }
};
/** Derive from this class to implement your own threaded sections of