Thread-local storage

Recently, I spent some time to find information how actually “thread local” variables are working. To understand topic in high level, it is useful to read Wikipedia page about this topic: http://en.wikipedia.org/wiki/Thread-local_storage. From article we know, that the idea is quite simple: we just use static or global memory local to a thread, so every thread has his own piece of … More Thread-local storage