qt6-bb10/src
Richard Moe Gustavsen 6eaee855c7 ios: change file engine caching logic for loading assets
The current caching strategy had a flaw in that it tried
to lazy-lock the mutex only if g_currentAssetData was non-zero.
For this to be somewhat reliable, g_currentAssetData would have
to be volatile. But that would still not be enough since
thread-unaware code optimizations might also happen on the CPU level.

Instead of complicating the current logic more, change it to
only do caching per thread. Since QThreadStorage will take ownership
of its data, we can't let it store a pointer to QIOSAssetData directly
since we need to control the life time of QIOSAssetData using deleteLater.

Change-Id: I2c3ffb3257ec2bdec8be71a3d63f666ab33b5277
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
2015-05-10 18:15:42 +00:00
..
3rdparty ANGLE: Allow Windows Phone to communicate swap region 2015-05-08 02:34:03 +00:00
android Merge remote-tracking branch 'origin/5.4' into merge5.5 2015-05-08 13:26:44 +02:00
angle fix ANGLE build with VS2015 2015-05-08 15:35:15 +00:00
concurrent Doc: Qt Concurrent: Link to essential usage information 2015-04-07 14:38:29 +00:00
corelib Don't overwrite applicationName if already set. 2015-05-09 10:01:33 +00:00
dbus Fix undefined behavior: accessing an object after destruction 2015-04-15 00:21:57 +00:00
gui Merge "Merge remote-tracking branch 'origin/5.4' into merge5.5" into refs/staging/5.5 2015-05-08 17:34:00 +00:00
network Merge remote-tracking branch 'origin/5.4' into merge5.5 2015-05-08 13:26:44 +02:00
opengl Make data tables const. 2015-05-05 05:31:32 +00:00
openglextensions Fix typo when resolving EGL extension. 2015-04-23 11:54:36 +00:00
platformheaders Doc: Fix spelling errors in the QXcbWindowFunctions docs 2015-05-07 06:57:50 +00:00
platformsupport Avoid signed-unsigned warning on OS X 2015-04-16 16:48:00 +00:00
plugins ios: change file engine caching logic for loading assets 2015-05-10 18:15:42 +00:00
printsupport Clean up API of QPlatformPrintDevice (QPA). 2015-05-05 14:06:27 +00:00
sql MySQL: Add support for the timeout options via the connectionOptions 2015-04-27 11:39:29 +00:00
testlib Add GPU_BLACKLIST support to QTestLib 2015-05-08 15:11:32 +00:00
tools qdoc: Enable prepare-phase warnings in single-exec mode 2015-05-05 13:33:57 +00:00
widgets Improve QListView scroll bar calculation. 2015-05-10 07:45:23 +00:00
winmain Updated BSD licensed file headers 2015-02-15 07:41:17 +00:00
xml QtXml: Fix const correctness in old style casts 2015-03-11 01:50:23 +00:00
src.pro Implement a more direct headersclean check 2015-04-17 00:54:45 +00:00