Enable name of threads in release mode.
authorLeonard Lee <leonard.lee@nokia.com>
Mon, 5 Mar 2012 11:01:45 +0000 (12:01 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 5 Mar 2012 13:54:18 +0000 (14:54 +0100)
commite8b46d6f69c80e1e041403b1d45d548b2c3e5add
treec542070bed1a514c2c0f2e2f32f3f527a6a12bf0
parenta91c997238253946604165bc17cc0a0c3e3bcb88
Enable name of threads in release mode.

Naming threads is very useful for release builds.
Enabling only on Linux/Mac for now.
The Windows port is using debugger specific API for setting thread
 names, so it has to remain debug mode only.

Change-Id: I179521f65f215ff038e8230f958f6aa728ea4cbe
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
src/corelib/thread/qthread_unix.cpp