summaryrefslogtreecommitdiff
path: root/include/mbgl/storage
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2017-02-24 15:05:28 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2017-02-25 14:03:38 +0200
commit86300ccedfc5ccdace551ce76f9185513d736127 (patch)
treefe64868fd13243bfc0e240cf3ce8690c8947c266 /include/mbgl/storage
parent465c949153a838bb3159204ab268eb551fbd2e6c (diff)
downloadqtlocation-mapboxgl-86300ccedfc5ccdace551ce76f9185513d736127.tar.gz
[core] Add pause/resume to the Thread class
Make a thread completely halt and not process any message on the message queue until resume() is called. Sending a sync message to a halted thread will result on a deadlock, thus the assertion. Deleting a paused thread will trigger a resume.
Diffstat (limited to 'include/mbgl/storage')
0 files changed, 0 insertions, 0 deletions