ThreadLocalVar initial implementation.
ThreadLocalVar documentation.
ThreadLocalVar: use atomic counter for allocating symbols.
Merge branch 'threadlocals'.