[Python-Dev] Re: [Python-checkins] python/dist/src/Lib/test test_signal.py,1.9,1.10
Michael Hudson
mwh@python.net
31 May 2002 09:45:00 +0100
martin@v.loewis.de (Martin v. Loewis) writes:
> 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.
Well, yes. I think I've found enough to the relavent bits of FreeBSD
source to answer at least some of my own questions now
(libc_r/uthread/uthread_sig.c, for the curious).
> Thread implementations in BSD vary from "distribution to
> distribution" (Free, Net, Open), and may also vary from release to
> release.
That's what makes this such a fun game <1e-9 wink>.
> For example, one of them recently dropped the libc_r library.
Didn't know that. Which one? Not Free, by the signs.
> 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.
$ cc -mt -o sigp sigp.c
cc1: Invalid option `t'
?
Cheers,
M.
--
... when all the programmes on all the channels actually were made
by actors with cleft pallettes speaking lines by dyslexic writers
filmed by blind cameramen instead of merely seeming like that, it
somehow made the whole thing more worthwhile. -- HHGTG, Episode 11