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 <>
In-reply-to <>
> 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)
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