My understanding is that iOS does not support __thread. There is, obviously, a way to do this using pthread_setspecific. However, is there already a template class that has implemented this functionality?
I'd ate to re-invent the wheel, especially as it won't be a simple piece of code to write.
Any links would be hugely appreciated!
Cheers