apscheduler error

Aahz aahz at pythoncraft.com
Sat Jan 29 16:53:36 EST 2011


In article <mailman.654.1294470254.6505.python-list at python.org>,
=?utf-8?Q?Alice_Bevan=E2=80=93McGregor?= <alice at gothcandy.com> wrote:
>>A package of mine, TurboMail, suffers from the same threading issue if 
>used improperly; you enqueue e-mail, it starts a thread, then you 
>immediately exit. TM tries to work around the issue, but in most cases 
>that workaround does not work properly. (You get strange uncatchable 
>exceptions printed on stderr though AFIK the e-mail does get sent 
>correctly, your application may hang waiting for the thread pool to 
>drain if you have a "minimum thread count" option set.)

Why not write an exit handler that converts your thread to daemon? (Or
something like that.)
-- 
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"All problems in computer science can be solved by another level of 
indirection." --Butler Lampson


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /