[tor-commits] [tor/master] When initializing pthreads, always set the main thread.