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

[or-cvs] Backport: add solaris to poorly threading platforms



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