diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-10 14:50:38 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-10 14:50:38 +0000 |
commit | 11c08b9aed1792705e5d82b343fae6ce56910338 (patch) | |
tree | 31a3cb573ac3958dd9702dedce9d399da111e424 /include/threadengines | |
parent | eedce11c9606f24d339d8055fd9d0f995b4e0951 (diff) |
Each Thread class must have its own thread handle, duh. Someone take away my craqpipe NOW.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8876 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/threadengines')
-rw-r--r-- | include/threadengines/threadengine_pthread.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/threadengines/threadengine_pthread.h b/include/threadengines/threadengine_pthread.h index db32acbcc..2c821d93d 100644 --- a/include/threadengines/threadengine_pthread.h +++ b/include/threadengines/threadengine_pthread.h @@ -23,10 +23,6 @@ class InspIRCd; class CoreExport PThreadEngine : public ThreadEngine { - private: - - pthread_t MyPThread; - public: PThreadEngine(InspIRCd* Instance); @@ -40,6 +36,8 @@ class CoreExport PThreadEngine : public ThreadEngine static void* Entry(void* parameter); void Create(Thread* thread_to_init); + + void FreeThread(Thread* thread); }; #endif |