mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 05:03:43 +01:00
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.
This commit is contained in:
parent
67d59d7d1f
commit
691d271b2e
@ -46,8 +46,8 @@ const subsys_fns_t *tor_subsystems[] = {
|
||||
&sys_torerr,
|
||||
|
||||
&sys_wallclock,
|
||||
&sys_threads,
|
||||
&sys_logging,
|
||||
&sys_threads,
|
||||
|
||||
&sys_time,
|
||||
|
||||
|
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user