From f692d496ff84ed29ffb5581523b1ef2cac2defd4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 19 Dec 2009 01:08:32 +0000 Subject: Only print message if starting thread. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@2312 a436a847-0d15-0410-975c-d299462d15a1 --- src/Thread.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') 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; -- cgit v1.2.1