Replace one-shot uses of QSemaphore with QLatch
This commit replaces one-shot synchronization of threads that were using
QSemaphore with QLatch. QSemaphore is efficient on Linux and Windows,
but allocates memory elsewhere. Even on those platforms where we have
futex-like OS support, QSemaphore is heavier than what we really need
here.
There was only one use of QSemaphore in qtsensors.
Change-Id: Ib5ce7a497e034ebabb2cfffd1761a4fcb2be9a6c
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
| commit | 8ffb89f601b222f5b971d56535bc7b0063ee3dee |
| parent | 78f4791c27f0c86b021356f6277f0352abd50583 |
| author | Thiago Macieira <thiago.macieira@intel.com> |
| committer | Thiago Macieira <thiago.macieira@intel.com> |
| commit time | Mon, 19 Oct 2026 17:45:59 +0000 |