summaryrefslogtreecommitdiff
path: root/include/threadengines/threadengine_pthread.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-21 17:06:20 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-21 17:06:20 +0000
commit21193e2e625859978e98b278beda00181fcd317c (patch)
tree6d1ee4085e38ceb52c02edef9de730a5dc30cfd8 /include/threadengines/threadengine_pthread.h
parent14b1960421814bcc6e5a744dad3d0b6d81a2771c (diff)
Threadengine stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8980 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/threadengines/threadengine_pthread.h')
-rw-r--r--include/threadengines/threadengine_pthread.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/threadengines/threadengine_pthread.h b/include/threadengines/threadengine_pthread.h
index 2c821d93d..e8f7a4087 100644
--- a/include/threadengines/threadengine_pthread.h
+++ b/include/threadengines/threadengine_pthread.h
@@ -40,4 +40,12 @@ class CoreExport PThreadEngine : public ThreadEngine
void FreeThread(Thread* thread);
};
+class ThreadEngineFactory : public classbase
+{
+ ThreadEngine* Create(InspIRCd* ServerInstance)
+ {
+ return new PThreadEngine(ServerInstance);
+ }
+};
+
#endif