Why does start_new_thread() create an extra process under Linux?
Jp Calderone
exarkun at divmod.com
Thu Jul 29 10:00:16 EDT 2004
Jon Perez wrote:
> Running the following under Linux creates
> 3 processes instead of 2. Once the started
> thread exits, 2 processes still remain. Why?
>
Most likely, the "extra" you are seeing is an implementation detail
of your platform's underlying thread library. It probably exists to act
as a scheduler or perform other administrative tasks for the "real"
threads of your application.
Jp
More information about the Python-list
mailing list