[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: kdeinit (was: Summary from Buildsystem BoF at Desktop Summit)
From: Thiago Macieira <thiago () kde ! org>
Date: 2011-08-21 15:23:14
Message-ID: 164252724.BLabuGbtiF () doriath
[Download RAW message or body]
On Sunday, 21 de August de 2011 16:40:32 Oswald Buddenhagen wrote:
> > If there is, you return QString::fromRawData.
>
> uhm, no, you must make a deep copy, otherwise you get a time bomb.
> but yeah, no conversion, so pretty cheap.
You can also use a QStringData with a regular refcount and just watch as it
becomes 1. When all the QStrings in this segment of mmapped memory have
refcount 1 or 0, then you can unmap it.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic