thread and portability Unix/Linux

A

awalter1

Hi,
I have a Python application that runs under HPUX 11.11 (then unix). It
uses threads :
from threading import Thread
# Class Main
class RunComponent(Thread):

My application should run under Linux (red hat 3 ou 4) and I read that
differences exist between the implementation of threads : on HPUX
11.11 there is CMA (ou DCE) threads and on Linux POSIX thread. Do you
think that my Python application should be modified or may be such
differences are hidden by the python interpreter ?
In other terms, do I get some risks on this particular aspect by
porting my application ?
Thanks a lot

PS: If you are aware of other risk of porting, I am interested too.
 
J

Joshua J. Kugler

awalter1 said:
Hi,
I have a Python application that runs under HPUX 11.11 (then unix). It
uses threads :
from threading import Thread
# Class Main
class RunComponent(Thread):

My application should run under Linux (red hat 3 ou 4) and I read that
differences exist between the implementation of threads : on HPUX
11.11 there is CMA (ou DCE) threads and on Linux POSIX thread. Do you
think that my Python application should be modified or may be such
differences are hidden by the python interpreter ?
In other terms, do I get some risks on this particular aspect by
porting my application ?
Thanks a lot

PS: If you are aware of other risk of porting, I am interested too.

The Python threading model abstracts from the underlying OS threading, so
there should be no need to change anything (AFAIK).

j
 
A

awalter1

The Python threading model abstracts from the underlying OS threading, so
there should be no need to change anything (AFAIK).

j

Marvellous !
Thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top