浏览代码

r13633@catbus: nickm | 2007-07-06 11:08:19 -0400
Call tor_init_threads() from tor_init().


svn:r10751

Nick Mathewson 18 年之前
父节点
当前提交
92b6e09082
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/or/main.c

+ 2 - 0
src/or/main.c

@@ -1698,6 +1698,8 @@ tor_init(int argc, char *argv[])
   /* Have the log set up with our application name. */
   tor_snprintf(buf, sizeof(buf), "Tor %s", get_version());
   log_set_application_name(buf);
+  /* Initialize threading. */
+  tor_threads_init();
   /* Initialize the history structures. */
   rep_hist_init();
   /* Initialize the service cache. */