diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-08-10 16:06:41 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-25 10:35:34 +0200 |
commit | ab9fde6c0cd7c50efe52f2923e79470f05f8a1b1 (patch) | |
tree | ab4f6d3908a4ce11668e2ec6bdf83452f6323cc3 /configure | |
parent | c28204066c2d3bae989132ab15e8df437ae38f3d (diff) |
Split the futexFlags() function in two: a hot and a cold path
We could mark the cold path with __attribute__((cold)) (since GCC 4.3),
but quick tests locally indicate that the compiler is smart enough to
determine that by itself.
It will inline the hot path in _q_futex, which in turn is inlined in the
lockInternal and unlockInternal functions, whereas the cold path is kept
outside.
Change-Id: I8ae7d851d4f050498bfb491ba87d3e25453a14f8
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions