Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Make sure ThreadLocal will not own the pointer it is managing | Thiago Marcos P. Santos | 2017-07-14 | 1 | -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 implementation | Thiago Marcos P. Santos | 2017-07-07 | 1 | -17/+9 |
| | |||||
* | [core] Rename ThreadedObject to Thread | Thiago Marcos P. Santos | 2017-06-21 | 1 | -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 model | Thiago Marcos P. Santos | 2017-06-21 | 1 | -16/+29 |
| | |||||
* | [test] add .test.cpp suffix to test case files | Konstantin Käfer | 2016-09-28 | 1 | -0/+95 |