qt6-bb10/src/plugins
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
..
bearer Fix crash when qt compiled with dbus support and no dbus interface. 2015-04-16 13:01:45 +00:00
generic evdevtouch: Add hotplug support 2015-04-09 09:58:15 +00:00
imageformats Merge remote-tracking branch 'origin/5.4' into 5.5 2015-03-31 10:03:31 +02:00
platforminputcontexts Fix regression in compose table parsing 2015-04-16 18:57:51 +00:00
platforms ios: change file engine caching logic for loading assets 2015-05-10 18:15:42 +00:00
platformthemes Update copyright headers 2015-02-11 06:49:51 +00:00
printsupport Clean up API of QPlatformPrintDevice (QPA). 2015-05-05 14:06:27 +00:00
sqldrivers Update copyright headers 2015-02-11 06:49:51 +00:00
styles Update copyright headers 2015-02-11 06:49:51 +00:00
plugins.pro BlackBerry 10 specific widget style as a style plugin 2014-11-07 16:35:47 +01:00