[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r10751: Call tor_init_threads() from tor_init(). (in tor/trunk: . src/or)



Author: nickm
Date: 2007-07-06 14:20:52 -0400 (Fri, 06 Jul 2007)
New Revision: 10751

Modified:
   tor/trunk/
   tor/trunk/src/or/main.c
Log:
 r13633@catbus:  nickm | 2007-07-06 11:08:19 -0400
 Call tor_init_threads() from tor_init().



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r13633] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/trunk/src/or/main.c
===================================================================
--- tor/trunk/src/or/main.c	2007-07-06 14:17:30 UTC (rev 10750)
+++ tor/trunk/src/or/main.c	2007-07-06 18:20:52 UTC (rev 10751)
@@ -1698,6 +1698,8 @@
   /* 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. */