[Interest] QSqlDatabase and Multithreading

Philipp Kursawe phil.kursawe at gmail.com
Wed Jan 22 22:01:39 CET 2014


sorry got that mixed up. Qt uses Events under Windows (was that changed in
Qt5?), which is still not as efficient as CriticalSections.


On Wed, Jan 22, 2014 at 5:11 PM, Thiago Macieira
<thiago.macieira at intel.com>wrote:

> 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
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140122/6dc9e835/attachment.html>


More information about the Interest mailing list