summaryrefslogtreecommitdiff
path: root/platform/qt/src/thread_local.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [all] ensure runloop is the current schedulerIvo van Dongen2017-08-091-2/+2
|
* [android][glfw][ios][macos][node][qt] rename backend to renderer backendIvo van Dongen2017-07-181-1/+1
|
* [core] Make sure ThreadLocal will not own the pointer it is managingThiago Marcos P. Santos2017-07-141-1/+6
| | | | | | | | | | | | | | ThreadLocal should not own the pointer it is managing because the use case in Mapbox GL is to keep a pointer to a stack allocated object, like: ``` MyObject foo; threadLocal.set(&foo); ``` To keep consistency, it is required that we clear the managed object before ThreadLocal gets destroyed by setting it to `nullptr`.
* [Qt] Use QThreadStorage for thread localThiago Marcos P. Santos2017-07-071-0/+44
Portable.