]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/threadengines/threadengine_pthread.h
Remove SpanningTreeProtocolInterface::SendOperNotice - it was translated to a SendSNO...
[user/henk/code/inspircd.git] / include / threadengines / threadengine_pthread.h
index 2c821d93dbe85d125c0186a9b708a7081c8acf5b..602484b4e548f4ae8e88dcc330bc42197d7251dc 100644 (file)
@@ -38,6 +38,20 @@ class CoreExport PThreadEngine : public ThreadEngine
        void Create(Thread* thread_to_init);
 
        void FreeThread(Thread* thread);
+
+       const std::string GetName()
+       {
+               return "posix-thread";
+       }
+};
+
+class CoreExport ThreadEngineFactory : public classbase
+{
+ public:
+       ThreadEngine* Create(InspIRCd* ServerInstance)
+       {
+               return new PThreadEngine(ServerInstance);
+       }
 };
 
 #endif