Added padding to eliminate the risk of false sharing.
Added a tls_model specifier to dramatically increase the performance of thread-local accesses.