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