Mark simple static methods in QThread as Q_DECL_NOTHROW
authorThiago Macieira <thiago.macieira@intel.com>
Mon, 6 Aug 2012 14:10:33 +0000 (16:10 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sat, 18 Aug 2012 06:34:53 +0000 (08:34 +0200)
commit8ab56793276eef297483fa203bb6fe40dc20c76d
tree1488180e7d2bb33152f6dd2bb313c222181e98a0
parent2ef3ac72fc068b825f2185ab3682219dc7246464
Mark simple static methods in QThread as Q_DECL_NOTHROW

These methods aren't often used, but currentThreadId() gets used in the
recursive mutex code to store the identity of the thread with multiple
locks.

Change-Id: I031cf3893aa6e7fd7a53733fc1088d295bdb9079
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/thread/qthread.h
src/corelib/thread/qthread_unix.cpp
src/corelib/thread/qthread_win.cpp