summaryrefslogtreecommitdiff
path: root/src/lib/thread
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-09-10 08:43:13 +1000
committerteor <teor@torproject.org>2019-09-10 08:43:13 +1000
commit7e22d9934658c27ba0d45455959f46207a190649 (patch)
tree09c77a57b6413205faba03854b2fec03ec612671 /src/lib/thread
parent4596ead2fc88e4b1482b0f3bc8ff356daea2337b (diff)
parent2e2a35b6943810257b6917648db90ed5d46505e1 (diff)
downloadtor-7e22d9934658c27ba0d45455959f46207a190649.tar.gz
tor-7e22d9934658c27ba0d45455959f46207a190649.zip
Merge branch 'bug31615_040' into bug31615_041
Merged modified lines from bug31615_040, and unmodified lines from maint-0.4.1.
Diffstat (limited to 'src/lib/thread')
-rw-r--r--src/lib/thread/compat_threads.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/thread/compat_threads.c b/src/lib/thread/compat_threads.c
index 35cfeba64c..1c4a5c4e3f 100644
--- a/src/lib/thread/compat_threads.c
+++ b/src/lib/thread/compat_threads.c
@@ -122,6 +122,8 @@ subsys_threads_initialize(void)
const subsys_fns_t sys_threads = {
.name = "threads",
.supported = true,
+ /* Threads is used by logging, which is a diagnostic feature, we want it to
+ * init right after low-level error handling and approx time. */
.level = -95,
.initialize = subsys_threads_initialize,
};