summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-02-13 12:55:05 -0500
committerNick Mathewson <nickm@torproject.org>2020-02-13 12:55:05 -0500
commit691d271b2e2e4d3f7c80a86f6de59f016171b8ea (patch)
treed90382b109e37650a1182069af0a70fdb94c8ab1 /src/lib
parent67d59d7d1ffa058280471154b8185b5420334458 (diff)
downloadtor-691d271b2e2e4d3f7c80a86f6de59f016171b8ea.tar.gz
tor-691d271b2e2e4d3f7c80a86f6de59f016171b8ea.zip
Re-order thread initialization to follow logging, and remove a comment.
lib/log no longer uses lib/thread; lib/log only uses lib/lock, which is at a lower level.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/thread/compat_threads.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/thread/compat_threads.c b/src/lib/thread/compat_threads.c
index d56e8a3f76..21125bddad 100644
--- a/src/lib/thread/compat_threads.c
+++ b/src/lib/thread/compat_threads.c
@@ -130,8 +130,6 @@ 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,
+ .level = -89,
.initialize = subsys_threads_initialize,
};