summaryrefslogtreecommitdiffstats
path: root/src/Thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Thread.cpp')
-rw-r--r--src/Thread.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Thread.cpp b/src/Thread.cpp
index 6f683bf..f5ba09f 100644
--- a/src/Thread.cpp
+++ b/src/Thread.cpp
@@ -72,9 +72,7 @@ Thread::get()
void
Thread::start()
{
- if (_pthread_exists) {
- cout << "[" << _name << " Thread] Already started." << endl;
- } else {
+ if (!_pthread_exists) {
cout << "[" << _name << " Thread] Starting." << endl;
pthread_attr_t attr;