Re: GNU Pth vs. LinuxThreads
On Tue, Jul 04, 2000 at 04:34:55PM +0200, Gregor Hoffleit wrote :
> The program in question is Python, which has now support for both
> libraries. The CVS version prefers Pth over LinuxThreads if both are
> available, and I'm looking for arguments whether this is reasonable.
> I had the impression LinuxThreads was a better choice where available.
> Isn't that the case ? In fact Python currently has one problem with
> signal handling when both readline and LinuxThreads are used, and this
> problem vanishes with GNU Pth. OTOH, I have the impression that the
> kind of MT used in Pth needs active support by the threaded program,
> and my impression is that that's not yet done in Python (the threading
> examples in Python run considerably different with Pth than with
> LinuxThreads).
>
My (wild) guess is: Py is portable, Gnu PTH is it too
(LinuxThreads afaik not). So is maybe the reason why Py first
looks for Pth ?
just 2c,
Markus
--
Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/
EMail: mfischer@josefine.ben.tuwien.ac.at
PGP Public Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2272BD0.asc
PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0
- Free Software For A Free World -
Reply to: