summaryrefslogtreecommitdiff
path: root/src/threadengines
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-06-24 12:40:02 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-06-24 12:40:02 +0200
commitaa7df4b8234d4b601ad0310605181fdabc8cfcaa (patch)
treea7ff42a5ad7081762c10ffc81b5ba7ebd7f4dc08 /src/threadengines
parentee08a00d1ba447072484f96c445e985f15f48e49 (diff)
Remove empty ThreadEngine constructors and destructors
Diffstat (limited to 'src/threadengines')
-rw-r--r--src/threadengines/threadengine_pthread.cpp8
-rw-r--r--src/threadengines/threadengine_win32.cpp8
2 files changed, 0 insertions, 16 deletions
diff --git a/src/threadengines/threadengine_pthread.cpp b/src/threadengines/threadengine_pthread.cpp
index 255fefe63..36ba3ab42 100644
--- a/src/threadengines/threadengine_pthread.cpp
+++ b/src/threadengines/threadengine_pthread.cpp
@@ -23,10 +23,6 @@
#include <pthread.h>
#include <fcntl.h>
-ThreadEngine::ThreadEngine()
-{
-}
-
static void* entry_point(void* parameter)
{
/* Recommended by nenolod, signal safety on a per-thread basis */
@@ -54,10 +50,6 @@ void ThreadEngine::Start(Thread* thread)
}
}
-ThreadEngine::~ThreadEngine()
-{
-}
-
void ThreadData::FreeThread(Thread* thread)
{
thread->SetExitFlag();
diff --git a/src/threadengines/threadengine_win32.cpp b/src/threadengines/threadengine_win32.cpp
index c3a844a74..77f638f37 100644
--- a/src/threadengines/threadengine_win32.cpp
+++ b/src/threadengines/threadengine_win32.cpp
@@ -21,10 +21,6 @@
#include "inspircd.h"
#include "threadengines/threadengine_win32.h"
-ThreadEngine::ThreadEngine()
-{
-}
-
void ThreadEngine::Start(Thread* thread)
{
ThreadData* data = new ThreadData;
@@ -44,10 +40,6 @@ void ThreadEngine::Start(Thread* thread)
}
}
-ThreadEngine::~ThreadEngine()
-{
-}
-
DWORD WINAPI ThreadEngine::Entry(void* parameter)
{
Thread* pt = static_cast<Thread*>(parameter);