HP-UX, PyThread_* missing

Martin v. Loewis martin at v.loewis.de
Mon Mar 18 11:08:55 EST 2002


cmkleffner at gmx.de (cmkl) writes:

> HP-UX 10.20 has user threads, HP-UX 11 has kernel threads (a POSIX threads 
> implementation by HP) -  and AFAIK HP-UX 10.30 has it.
> HP-UX 10.20 has located s subset of pthread call's in libcma - not enough
> for Python2.2. But I can remember, that prior python versions (2.0, 1.5.2 ??)
> could configured with threads. I can't test it anymore, because I have only
> access to HP-UX 11.00 at the moment.
> Another problem is, that the dynamic loader is not thread-safe in 10.20
> (but it is in 10.30 and above) - see 'HP-UX Linker and Libraries Users's Guide'
> 
> But in principle HP-UX 10.20 supports threads (user threads or green threads)
> and it is used i.e. with Java for HP-UX.

Different people report different results. Python still has the
machinery to link with -lcma, and for some people, it reportedly
figured that out correctly. For some people, the 2.2 configure
apparently fails because it picked up the wrong preprocessor - I don't
know why that would happen.

Some people see crashes (in the testsuite) due to unexpected
signals. I believe that these originate from the fact that the
user-level thread library uses signals in certain cases, and this may
interfere with signal handlers that the signal test installed.

Of course, this is pure guesswork.

Regards,
Martin



More information about the Python-list mailing list