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