[Development] QMutex with pthread on Linux

Thiago Macieira thiago.macieira at intel.com
Wed Aug 22 17:57:41 CEST 2012


On quarta-feira, 22 de agosto de 2012 16.01.34, Thiago Macieira wrote:
> On quarta-feira, 22 de agosto de 2012 13.21.03, bradley.hughes at nokia.com
> 
> wrote:
> > Wow… do you get the same results with Qt 4? I did quite a bit to optimize
> > contention performance in Qt 4. I do know that mutex contention
> > performance
> > has regressed in Qt 5 on the Mac, I wasn't sure about on Linux, though.
> 
> I haven't tested. I'll try that later, once I finish rewriting the locking
> code.

The interesting thing is that, during the rewrite, I have discovered many of 
the reasons why Olivier's code is like it is. I'm documenting it now.

Unfortunately, that also means the code can't be as simple as I had wanted it 
to be.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120822/9302cdef/attachment.sig>


More information about the Development mailing list