Message158755
> Would it be correct to terminate daemon threads prior to wiping the
> globals, since the threads won't be able to accomplish much anyway?
Daemon threads are not actually "terminated" by the Python interpreter, they just keep running in the background until the process exits.
The situation should be much better in Python 3.2, where daemon threads are frozen (their execution is halted) when the interpreter starts to shutdown.
I don't think this will be ever fixed in 2.7, though. It's a slightly delicate change. |
|
Date |
User |
Action |
Args |
2012-04-19 21:15:24 | pitrou | set | recipients:
+ pitrou, mhobbs |
2012-04-19 21:15:24 | pitrou | set | messageid: <1334870124.47.0.111839978789.issue14623@psf.upfronthosting.co.za> |
2012-04-19 21:15:23 | pitrou | link | issue14623 messages |
2012-04-19 21:15:23 | pitrou | create | |
|