summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-08-25 17:55:32 +0200
committerKonstantin Käfer <mail@kkaefer.com>2017-08-25 17:55:32 +0200
commit7e9f79d3e115642e61b254677bcda5797a672875 (patch)
tree7301946d471f618c2ae24c9d893413166fe05f2a /CMakeLists.txt
parentb0c03f9396f52264184f9a0b18efdf89e787799d (diff)
downloadqtlocation-mapboxgl-upstream/defaultfilesource-async-init.tar.gz
[core] initialize OfflineDatabase asynchronously in DefaultFileSourceupstream/defaultfilesource-async-init
Sometimes, initialization can take hundreds of milliseconds, in particular when the database doesn't exist yet, or when the app/device is doing a lot of I/O already. Instead of synchronously initializing the OfflineDatabase objects, we're now asynchronously initializing the object through a self-sent message that by virtue of being the first message for this actor guarantees that the object is there when it's needed by other member functions.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions