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 sbt
Recipients asvetlov, jcea, pitrou, sbt, serhiy.storchaka
Date 2013-02-14.12:01:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360843294.57.0.582575816572.issue15528@psf.upfronthosting.co.za>
In-reply-to
Content
> Richard, do you still want to push this forward? Otherwise I'd like to 
> finalize the patch (in the other sense ;-).

I started to worry a bit about daemon threads.  I think they can still run while atexit functions are being run.*  So if a daemon thread creates an atexit finalizer during shutdown it may never be run.

I am not sure how much to worry about this potential race.  Maybe a lock could be used to cause any daemon threads which try to create finalizers to block.

* Is it necessary/desirable to allow daemon threads to run during shutdown.  Maybe blocking thread switching at shutdown could cause deadlocks?
History
Date User Action Args
2013-02-14 12:01:34sbtsetrecipients: + sbt, jcea, pitrou, asvetlov, serhiy.storchaka
2013-02-14 12:01:34sbtsetmessageid: <1360843294.57.0.582575816572.issue15528@psf.upfronthosting.co.za>
2013-02-14 12:01:34sbtlinkissue15528 messages
2013-02-14 12:01:34sbtcreate