summaryrefslogtreecommitdiff
path: root/src/mbgl/util/thread_pool.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Make the BackgroundScheduler a singletonThiago Marcos P. Santos2019-05-101-0/+28
- Do not carry it over everywhere as parameter, it is a shared instance anyway and the lifecycle is pretty much the app lifecycle from the moment we instantiate a map. - Rename to BackgroundScheduler because it is a Scheduler that will do tasks in the background, we don't make assumptions if it is a thread pool or a single thread. - Most importantly, remove the dependency from `core` on `platform`.