From 21193e2e625859978e98b278beda00181fcd317c Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 21 Feb 2008 17:06:20 +0000 Subject: Threadengine stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8980 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/threadengines/threadengine_pthread.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') 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 -- cgit v1.2.3