mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 13:53:31 +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_torerr,
|
||||||
|
|
||||||
&sys_wallclock,
|
&sys_wallclock,
|
||||||
&sys_threads,
|
|
||||||
&sys_logging,
|
&sys_logging,
|
||||||
|
&sys_threads,
|
||||||
|
|
||||||
&sys_time,
|
&sys_time,
|
||||||
|
|
||||||
|
@ -130,8 +130,6 @@ subsys_threads_initialize(void)
|
|||||||
const subsys_fns_t sys_threads = {
|
const subsys_fns_t sys_threads = {
|
||||||
.name = "threads",
|
.name = "threads",
|
||||||
.supported = true,
|
.supported = true,
|
||||||
/* Threads is used by logging, which is a diagnostic feature, we want it to
|
.level = -89,
|
||||||
* init right after low-level error handling and approx time. */
|
|
||||||
.level = -95,
|
|
||||||
.initialize = subsys_threads_initialize,
|
.initialize = subsys_threads_initialize,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user