thread and portability Unix/Linux

awalter1 alain.walter at thalesgroup.com
Thu Mar 8 06:22:00 EST 2007


On 7 mar, 21:07, "Joshua J. Kugler" <jos... at eeinternet.com> wrote:
> awalter1 wrote:
> > 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
>
> --
> Joshua Kugler
> Lead System Admin -- Senior Programmerhttp://www.eeinternet.com
> PGP Key:http://pgp.mit.edu/ ID 0xDB26D7CE
>
> --
> Posted via a free Usenet account fromhttp://www.teranews.com- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -

Marvellous !
Thank you




More information about the Python-list mailing list