[or-cvs] Backport: add solaris to poorly threading platforms
Nick Mathewson
nickm at seul.org
Thu Jun 9 20:20:06 UTC 2005
Update of /home/or/cvsroot/tor
In directory moria:/tmp/cvs-serv7722
Modified Files:
Tag: tor-0_1_0-patches
configure.in
Log Message:
Backport: add solaris to poorly threading platforms
Index: configure.in
===================================================================
RCS file: /home/or/cvsroot/tor/configure.in,v
retrieving revision 1.212.2.1
retrieving revision 1.212.2.2
diff -u -d -r1.212.2.1 -r1.212.2.2
--- configure.in 7 Jun 2005 18:26:26 -0000 1.212.2.1
+++ configure.in 9 Jun 2005 20:20:04 -0000 1.212.2.2
@@ -30,6 +30,11 @@
AC_MSG_NOTICE([You are running OpenBSD or NetBSD; I am assuming that
getaddrinfo is not threadsafe here, so I will disable threads.])
enable_threads="no";;
+ *-*-solaris* )
+ # Don't try multithreading on solaris -- cpuworkers seem to lock.
+ AC_MSG_NOTICE([You are running Solaris; Sometimes threading makes
+cpu workers lock up here, so I will disable threads.])
+ enable_threads="no";;
*)
enable_threads="yes";;
esac
More information about the tor-commits
mailing list