[Interest] QSqlDatabase and Multithreading

Thiago Macieira thiago.macieira at intel.com
Wed Jan 22 16:45:11 CET 2014


On quarta-feira, 22 de janeiro de 2014 16:39:24, Philipp Kursawe wrote:
> Your database class uses a std::recursive_mutex (not the Qt mutex, its a
> resource waster!)

Do you have any numbers? QMutex is very small and optimised (on Linux).

QWaitCondition suffers because QMutex is so small.
-- 
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/0b7ebfdc/attachment.sig>


More information about the Interest mailing list