Greg Brockman <g...@ksplice.com> added the comment:

At first glance, looks like there are a number of sites where you don't change 
the blocking calls to non-blocking calls (e.g. get()).  Almost all of the 
get()s have the potential to be called when there is no possibility for them to 
terminate.

I might recommend referring to my original termination.patch... I believe I 
tracked down the majority of such blocking calls.

In the interest of simplicity though, I'm beginning to think that the right 
answer might be to just do something like termination.patch but to 
conditionalize crashing the pool on a pool configuration option.  That way the 
behavior would no worse for your use case.  Does that sound reasonable?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9205>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to