Re: [Zope] Building Zope w/ Sun Forte (rather than gcc)
Hi I've been on vacation therefore I'm a little late in reading your commens. Sorry. #P. Horbal: I've recompiled Python 2.1.1 on my Solaris 2.7/8 with the --with-threads. No change. Solaris still hangs. Please verify: You're using Solaris 2.7/8 and parallel threads really work?! #D. Maurer: I've read your answer with the different thread policies. That's the exact description of what is happening! The thing is, that that would mean that Solaris only supports serial threading (i.e. one thread). If I hadn't seen it I wouldn't have believed it! What component is responsible for such behaviour? What can we do aout it? Oliver Erlewein -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
Oliver Erlewein writes:
#D. Maurer: I've read your answer with the different thread policies. That's the exact description of what is happening! The thing is, that that would mean that Solaris only supports serial threading (i.e. one thread). If I hadn't seen it I wouldn't have believed it! What component is responsible for such behaviour? It does not mean serial threading, only the thread activation is different.
The original post (the one I replied to) clearly showed that the tasks have been executed in parallel: the tasks terminated in the order of execution time. A task stating late nevertheless finished quickly because it had a small execution time. Only specialized problems should depend on the thread activation policy. Usual situations should only be influenced in a minor way.
What can we do aout it? I would not expect external controllability of the thread activation policy. But maybe, you find some hint in the Solaris threading documentation (look at Solaris and Posix threads).
Dieter
Oliver, Python 2.1.1 compiles and works multi-threading using either gcc or Sun Forte. My system is a Netra X1 (UltraSPARC IIe) running Solaris 8 (latest kernel patch applied is the early November release). I haven't experienced any threading-related hangups and it appears to be working just fine. Perhaps you've got a broken gcc threading library? The version of gcc I have was the package grabbed from sunfreeware.com. Alternatively, if you'd like, I can tar up my build of Python and make it available for download. I have it installed into /opt/python, so you could try it out concurrently. cheers, Paul. On Mon, Dec 03, 2001 at 05:55:44PM +0100, Oliver Erlewein wrote:
Hi
I've been on vacation therefore I'm a little late in reading your commens. Sorry.
#P. Horbal: I've recompiled Python 2.1.1 on my Solaris 2.7/8 with the --with-threads. No change. Solaris still hangs. Please verify: You're using Solaris 2.7/8 and parallel threads really work?!
#D. Maurer: I've read your answer with the different thread policies. That's the exact description of what is happening! The thing is, that that would mean that Solaris only supports serial threading (i.e. one thread). If I hadn't seen it I wouldn't have believed it! What component is responsible for such behaviour? What can we do aout it?
Oliver Erlewein
-- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- horbal@atips.ca
participants (3)
-
Dieter Maurer -
Oliver Erlewein -
Paul Horbal