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