[Qt-interest] Shared Pointers...
Thiago Macieira
thiago at kde.org
Fri Dec 4 08:36:58 CET 2009
Em Sexta-feira 4. Dezembro 2009, às 01.29.48, BRM escreveu:
> And
> from it, I think I may really need QSharedDataPointer...I was really
> not wanting to write another class though - since I really want to just
> pass around QByteArrays in a safe way across the various threads
> without having stuff copied.
>
QByteArray already uses same method as QSharedDataPointer. Like I pointed out
in the blog post, the only reason why the tool classes in Qt don't use
QSharedDataPointer is that they were written before QSDP.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091204/11e1746a/attachment.bin
More information about the Qt-interest-old
mailing list