[Interest] QSqlDatabase and Multithreading

Thiago Macieira thiago.macieira at intel.com
Wed Jan 22 17:11:49 CET 2014


On quarta-feira, 22 de janeiro de 2014 16:52:22, Philipp Kursawe wrote:
> The Win32 implementation uses a mutex, which is used for inter-process
> sync. Inside a process its a waste. Better use CriticalSection, its a
> kernel object and several times faster then a mutex on Win32.

I'm sorry, but the only proper response to what you said above is "WTF are you 
talking about?"

https://gitorious.org/qt/qtbase/source/stable:src/corelib/thread/qmutex_win.cpp#L49

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- 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/interest/attachments/20140122/1dd276e7/attachment.sig>


More information about the Interest mailing list