diff options
Diffstat (limited to 'include/threadengines')
-rw-r--r-- | include/threadengines/threadengine_pthread.h | 8 |
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 |