Fix in config comment
Add macros for thread-local storage