Re: [Python-Dev] Re: [Python-checkins] python/dist/src/Lib/test test_signal.py,1.9,1.10
Michael Hudson <mwh@python.net> writes:
Andrew MacIntyre <andymac@bullseye.apana.org.au> writes:
[test_signal fails on FreeBSD]
It doesn't fail if you disable threading. Oh /good/. Does anyone want to explain BSD threads and their interaction with signals to me? Cheers, M. -- I'll write on my monitor fifty times 'I must not post self-indulgent wibble nobody is interested in to ucam.chat just because I'm bored and I can't find the bug I'm supposed to fix'. -- Steve Kitson, ucam.chat
Does anyone want to explain BSD threads and their interaction with signals to me?
Yes. Threads and signals don't mix. Period. (Only half a smiley. :-) --Guido van Rossum (home page: http://www.python.org/~guido/)
Michael Hudson <mwh@python.net> writes:
It doesn't fail if you disable threading. Oh /good/.
Does anyone want to explain BSD threads and their interaction with signals to me?
I believe this is an overgeneralization in question. Thread implementations in BSD vary from "distribution to distribution" (Free, Net, Open), and may also vary from release to release. For example, one of them recently dropped the libc_r library. Try compiling with the -mt option, unless this is already done; it appears that this causes the compiler to define things that are otherwise not defined. Regards, Martin
participants (3)
-
Guido van Rossum
-
martin@v.loewis.de
-
Michael Hudson