When initializing pthreads, always set the main thread.
commit4f6901d7cc827e5bfa98467b7a568f725ce7fa9f
authorNick Mathewson <nickm@torproject.org>
Mon, 6 Jan 2020 14:37:12 +0000 (6 09:37 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 6 Jan 2020 14:37:12 +0000 (6 09:37 -0500)
treee3c759d5cde1960dfed9fd6497fe68a75c68d247
parent0b3763612cfd74fd8e1ee79f6fbe58a70e4288b8
When initializing pthreads, always set the main thread.

Fixes bug 32884.  This is a bugfix on 0.3.3.1-alpha, when we started
allowing restart-in-process with tor_api.h.
changes/bug32884 [new file with mode: 0644]
src/lib/thread/compat_pthreads.c