Re: Overriding Thread.join in derived class.

2007-08-20 Thread Graham Dumpleton
On Aug 20, 5:40 am, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > On 18 ago, 04:31, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > > > > > If one creates a thread using threading.Thread and makes it a daemon > > by calling setDaemon(), then when Python is exiting it will not > > attempt to call joi

Re: Overriding Thread.join in derived class.

2007-08-19 Thread Gabriel Genellina
On 18 ago, 04:31, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > If one creates a thread using threading.Thread and makes it a daemon > by calling setDaemon(), then when Python is exiting it will not > attempt to call join() on that thread and wait for it to complete > first. [...] > End result is

Overriding Thread.join in derived class.

2007-08-18 Thread Graham Dumpleton
If one creates a thread using threading.Thread and makes it a daemon by calling setDaemon(), then when Python is exiting it will not attempt to call join() on that thread and wait for it to complete first. The problem with this is that the daemonised thread will continue to run while atexit regist