Python Threads on Linux

Ronan Viernes Ronan.Viernes at onsemi.com
Tue Jul 31 02:39:39 EDT 2001


Environment:

SuSE Linux 7.1 with 2.2.18 Kernel
Python 1.5.2
PIII IBM Desktop

1. Is it normal for threads on LINUX to have their own process id
thereby displayed in "ps -ef"? In AIX/HP, this is not the case right?

2. How do i exit gracefully from a thread? After exiting the thread,
is the thread 'process' automatically closed? I noticed in our system
that after exiting the thread, the 'process' are still present as
evidenced by the "ps -ef" .

Any help will do. Thanks.



More information about the Python-list mailing list