summaryrefslogtreecommitdiff
path: root/test/util/thread_local.test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Make sure ThreadLocal will not own the pointer it is managingThiago Marcos P. Santos2017-07-141-10/+18
| | | | | | | | | | | | | | 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`.
* [core] Isolate pthread-based tls implementationThiago Marcos P. Santos2017-07-071-17/+9
|
* [core] Rename ThreadedObject to ThreadThiago Marcos P. Santos2017-06-211-6/+6
| | | | | Now that the old Thread class is gone, we can give ThreadedObject a better name.
* [tests] Port the ThreadLocalStorage test to the actor modelThiago Marcos P. Santos2017-06-211-16/+29
|
* [test] add .test.cpp suffix to test case filesKonstantin Käfer2016-09-281-0/+95