diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-07-06 18:20:52 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-07-06 18:20:52 +0000 |
commit | 92b6e090825575e94b2497df58d11df532f3415c (patch) | |
tree | 086f2750d2f53e21582b817c33deb1d32b1237f7 /src/or | |
parent | 73b4428a8ba5d9253183ee3ceaabf4505f63bc90 (diff) | |
download | tor-92b6e090825575e94b2497df58d11df532f3415c.tar tor-92b6e090825575e94b2497df58d11df532f3415c.tar.gz |
r13633@catbus: nickm | 2007-07-06 11:08:19 -0400
Call tor_init_threads() from tor_init().
svn:r10751
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index 913f299fc..68e476fc4 100644 --- a/src/or/main.c +++ b/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. */ |