diff options
| author | 2008-02-21 17:59:26 +0000 | |
|---|---|---|
| committer | 2008-02-21 17:59:26 +0000 | |
| commit | 9bc7a6139db7ec7f1da676c486ca309f070a78e4 (patch) | |
| tree | 64815fe756fac5bcbe61394a4596a137ba615095 /include/threadengines/threadengine_pthread.h | |
| parent | Make the output for the test run a bit neater (diff) | |
ThreadEngine::GetName(), for display in /version
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8985 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/threadengines/threadengine_pthread.h')
| -rw-r--r-- | include/threadengines/threadengine_pthread.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/threadengines/threadengine_pthread.h b/include/threadengines/threadengine_pthread.h index 7e4d4ec3f..c34ff6fd3 100644 --- a/include/threadengines/threadengine_pthread.h +++ b/include/threadengines/threadengine_pthread.h @@ -38,6 +38,11 @@ class CoreExport PThreadEngine : public ThreadEngine void Create(Thread* thread_to_init); void FreeThread(Thread* thread); + + const std::string GetName() + { + return "posix-thread"; + } }; class ThreadEngineFactory : public classbase |
