On quinta-feira, 23 de janeiro de 2014 10:23:51, André Somers wrote:
> > http://qt-project.org/doc/qt-5/qmutex.html#RecursionMode-enum
> 
> If I understand it correctly, the slow mode Thiago was telling about is 
> the one that provides the behavior that Philipp was asking about, right?

It is.  I asked the question because I had talked about the performance of 
recursive mode in my email that Philipp replied to. I was a bit confused about 
the question.

Now, while the difference in performance was quite surprising, I must point out 
that it's still plenty fast. It just happens that CRITICAL_SECTIONS are 
faster. I should also point out that QMutex is optimised for uncontended 
situations, which is the most common case for GUI applications shuffling some 
data to worker threads.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to