threads killing other threads

Joshua Marshall jmarshal at mathworks.com
Fri Mar 8 08:48:16 EST 2002


If outright killing is disallowed, I'd still like to see the ability
for one thread to cause an exception to be thrown in another.
Currently you can do this to the main thread (on UNIX) by using
process signals.

dman <dsh8290 at rit.edu> wrote:

> Here's an analogy :

> If someone is sitting on the toilet, then you come and kill him, how
> is he supposed to flush?

> Processes can be killed by other processes since their resources are
> separate and the kernel can "flush" for the now-dead process.  With
> threads, there is one process and all resources are shared.  No one is
> left around to "flush".



More information about the Python-list mailing list