diff options
author | Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> | 2015-11-24 10:28:01 +0100 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> | 2015-11-27 14:19:42 +0000 |
commit | e117459e0d3d0670aa2cc60dfa3eafe81bbf11a9 (patch) | |
tree | 14a495bd997005b9f76e85919d4792adf5a084cf /src/bluetooth/qlowenergycontroller_bluez.cpp | |
parent | dab0c9a010cf7fcd521707168cc8107b7ed6af24 (diff) |
Bluetooth LE scan - move to its own dispatch queue (iOS/OS X)
Move CBCentralManager's delegate to its own dispatch queue, not the main one,
so that even if somebody _blocks_ the main thread somehow, waiting for discovery
to finish, the discovery can, indeed, finish. Also, make DDA aware of the fact
that now actual scan and 'this' are working on different threads, thus we must
be thread-safe.
Task-number: QTBUG-49476
Change-Id: I9bcc74131f51389c8a014577c65e0943bbc8da42
Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/bluetooth/qlowenergycontroller_bluez.cpp')
0 files changed, 0 insertions, 0 deletions