This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pietvo
Recipients pietvo
Date 2013-09-08.01:20:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
When a process started as a multiprocessing Process spawns a thread, it doesn't wait until the thread terminates. It terminates the thread early when the main thread of the process terminates, as if the thread would be daemonic (it isn't).

It may sound a bit weird to start a Thread within multiprocessing, but it isn't prohibited. Neither is this behavior documented.

In the attached program the thread doesn't complete. However when the mythread.join() statement is uncommented it does run to completion.
Date User Action Args
2013-09-08 01:20:27pietvosetrecipients: + pietvo
2013-09-08 01:20:27pietvosetmessageid: <>
2013-09-08 01:20:27pietvolinkissue18966 messages
2013-09-08 01:20:27pietvocreate