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



_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to