Don't use TLS, use pthreads