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 pitrou
Recipients asvetlov, christian.heimes, giampaolo.rodola, pitrou, vstinner
Date 2013-08-30.12:47:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412699048.25054518.1377866825205.JavaMail.root@zimbra10-e2.priv.proxad.net>
In-reply-to <1377865767.35.0.127332548745.issue18882@psf.upfronthosting.co.za>
Content
> The function must take care of fork() in worker threads, too. The
> isinstance(current_thread(), _MainThread) trick may not work.

Well, there are two possibilities:
- main_thread() returns the original _MainThread instance, even if it's
  dead in the child process
- main_thread() returns the main thread of the current process

Both are reasonable, but we must settle for one :-)

(also, the use case of forking from a thread is really obscure, I don't
think we should worry too much about it)
History
Date User Action Args
2013-08-30 12:47:11pitrousetrecipients: + pitrou, vstinner, giampaolo.rodola, christian.heimes, asvetlov
2013-08-30 12:47:11pitroulinkissue18882 messages
2013-08-30 12:47:11pitroucreate