Interrput a thread
gervaz
gervaz at gmail.com
Sun Jan 2 12:56:28 EST 2011
On 31 Dic 2010, 23:25, Alice Bevan–McGregor <al... at gothcandy.com>
wrote:
> On 2010-12-31 10:28:26 -0800, John Nagle said:
>
> > Even worse, sending control-C to a multi-thread program
> > is unreliable in CPython. See "http://blip.tv/file/2232410"
> > for why. It's painful.
>
> AFIK, that has been resolved in Python 3.2 with the introduction of an
> intelligent thread scheduler as part of the GIL release/acquire process.
>
> - Alice.
Ok, but then suppose I have multiple long running threads that I want
to delete/suspend because they are tooking too much time, which
solution do you propose?
Thanks,
Mattia
More information about the Python-list
mailing list