Re: Cannot start a thread in atexit callback

2009-05-06 Thread Graham Dumpleton
On May 6, 3:18 pm, "Gabriel Genellina" wrote: > En Tue, 05 May 2009 23:52:25 -0300, Zac Burns escribió: > > > It seems that one cannot start a thread in an atexit callback. > > > My use case is that I have a IO heavy callback that I want to run in a > > thread so that other callbacks can finish w

Re: Cannot start a thread in atexit callback

2009-05-05 Thread Gabriel Genellina
En Tue, 05 May 2009 23:52:25 -0300, Zac Burns escribió: It seems that one cannot start a thread in an atexit callback. My use case is that I have a IO heavy callback that I want to run in a thread so that other callbacks can finish while it's doing it's thing to save on exit time. Try creati

Cannot start a thread in atexit callback

2009-05-05 Thread Zac Burns
It seems that one cannot start a thread in an atexit callback. My use case is that I have a IO heavy callback that I want to run in a thread so that other callbacks can finish while it's doing it's thing to save on exit time. Example code (py3k) import