Thread-killing, round 666 (was Re: Lisp mentality vs. Python mentality)

Vsevolod vseloved at gmail.com
Sun Apr 26 20:23:13 CEST 2009


On Apr 26, 6:28 pm, a... at pythoncraft.com (Aahz) wrote:
> The problem is that thread-killing (in the literal sense) doesn't work.
> Unlike processes, there's no thread-environment encapsulation at the OS
> level, which means that things don't get cleaned up properly.  Even Java
> has mostly given up on thread-killing.  The only way to kill threads
> safely is to have them terminate themselves.  Your other option is to use
> multiple processes.
Well, somehow, in Lisp it's not a problem. :)

Cheers,
Vsevolod



More information about the Python-list mailing list