is it safe to stop a thread?

James_Althoff at i2.com James_Althoff at i2.com
Wed May 23 20:26:11 EDT 2001


Marcin Kowalczyk wrote:
<snip>
>Garbage collection with finalizers and modelling killing threads as
>exceptions take care of this.

I would think that relying on garbage collection with finalizers as a way
of freeing up system resources is not an infallible strategy in the general
case since it is possible to use up critical system resources before your
memory is gone and before a garbage collector runs.

<snip>

Jim





More information about the Python-list mailing list