diff options
| author | 2008-02-21 17:06:20 +0000 | |
|---|---|---|
| committer | 2008-02-21 17:06:20 +0000 | |
| commit | 21193e2e625859978e98b278beda00181fcd317c (patch) | |
| tree | 6d1ee4085e38ceb52c02edef9de730a5dc30cfd8 /include/threadengines/threadengine_pthread.h | |
| parent | Testsuite now does something (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.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 |
