Mailing List Archive

Threads Python OpenVMS
Has anyone been able to successfully build threads into Uwe Zessin's
OpenVMS port of Python-1_5_2? I have OpenVMS/Alpha 7.2. I am having
trouble compiling @DCC_PYTHON THREAD. I'm getting lots of errors in
THREAD_PTHREADS.H. I'd appreciate any input.

Thanks


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Threads Python OpenVMS [ In reply to ]
In article <7pcc46$ej7$1@nnrp1.deja.com>,
Don <don_b@my-deja.com> wrote:
> Has anyone been able to successfully build threads into Uwe Zessin's
> OpenVMS port of Python-1_5_2? I have OpenVMS/Alpha 7.2. I am having
> trouble compiling @DCC_PYTHON THREAD. I'm getting lots of errors in
> THREAD_PTHREADS.H. I'd appreciate any input.

Did you change CONFIG.H as described in the installation manual to
enable thread support?

I have tried this only with version 1.5.1 and a much older version
of OpenVMS (VAX V6.1). I have checked the release notes of OpenVMS
V7.1 and they say:

"Starting with OpenVMS Version 7.0, the DECthreads library
(PTHREAD$RTL.EXE) implements a POSIX 1003.1c standard interface."

and

"The POSIX 1003.4a, Draft 4 (or "d4") interface of DECthreads is
slated for retirement in a future release. Applications that were
written using the POSIX 1003.4a, Draft 4 interface should be migrated
to the new POSIX 1003.1c standard (or "pthread") interface provided
by DECthreads. A compatibility mode for the Draft 4 POSIX 1003.4a
interface has been provided in this release to help ease migration.
This compatibility mode will be removed in a future release."

It is my understanding - I have never _worked_ with threading -
that earlier versions implemented different drafts that are
incompatible to each other.

--
Uwe Zessin


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.