[Interest] unexpected result from QString::compare
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Mon May 11 10:26:40 CEST 2020
Il 11/05/20 10:23, Hamish Moffatt ha scritto:
> Q_GLOBAL_STATIC(QThreadStorage<QCollator>, defaultCollator)
>
> Why does it need an instance per thread?
Because QCollator is reentrant, not thread-safe.
HTH,
--
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4329 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200511/c154c8b8/attachment.bin>
More information about the Interest
mailing list