[Development] Qt 5 types under consideration for deprecation / removal in Qt 6

Thiago Macieira thiago.macieira at intel.com
Fri Aug 23 17:11:43 CEST 2019


On Friday, 23 August 2019 01:31:20 PDT Mutz, Marc via Development wrote:
> Do I understand it correctly that the implementation of QWaitCondition
> has _another_ mutex inside?! So, two mutexes? The one users pass in and
> then the one that QWaitCondition uses internally, because it's
> pthread_cond and that needs pthread_mutex?

Yes. The problem is that QMutex was made to use a futex or something similar 
in all platforms, which means QWC is way more expensive.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products






More information about the Development mailing list