[Development] Is Qt allowed caching the home dir path?
Thiago Macieira
thiago.macieira at intel.com
Sun Oct 27 23:31:42 CET 2013
On segunda-feira, 28 de outubro de 2013 00:12:36, Jiergir Ogoerg wrote:
> Yep, I know, the solution I proposed was also thread safe, but it didn't
> require a lock/unlock
> on each function call or extra memory structs around it.
Q_GLOBAL_STATIC does not lock/unlock for every access. Only for the
initialisation.
> Anyway, I stumbled across the home
> path thingy as a side effect of looking into a different Qt issue (startup
> time, which is
> pretty much unrelated to this issue) so I'll leave this (non-)issue for
> later cause the
> Qt start up time to me is far more important.
--
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/development/attachments/20131027/1f00ba8d/attachment.sig>
More information about the Development
mailing list