diff options
author | Mike Achtelik <mike.achtelik@gmail.com> | 2020-06-15 10:08:14 +0200 |
---|---|---|
committer | Mike Achtelik <mike.achtelik@gmail.com> | 2020-06-25 06:11:57 +0200 |
commit | 907027ab80c3caad91f935ee75606157bf938cac (patch) | |
tree | 040d0e5588abf33b861ea749a477a32b78e5dea6 /tests/benchmarks | |
parent | cb1c66bd204c12d848f47de6411d31edbafaf008 (diff) |
QMetaObject: Compare threadIds when checking receiver thread
Comparing threadIds is faster, especially if invoked from a non qt thread,
where QThread::currentThread() needs to create a QAdoptedThread/QThreadData first.
Pick-to: 5.15
Change-Id: I44b3013283754f1a5ac9d62debcf4c82be77c554
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/benchmarks')
0 files changed, 0 insertions, 0 deletions