diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2017-02-24 15:05:28 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2017-02-25 14:03:38 +0200 |
commit | 86300ccedfc5ccdace551ce76f9185513d736127 (patch) | |
tree | fe64868fd13243bfc0e240cf3ce8690c8947c266 /include/mbgl/storage | |
parent | 465c949153a838bb3159204ab268eb551fbd2e6c (diff) | |
download | qtlocation-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