Thread Question

Jeff Blaine jblaine at shell2.shore.net
Thu May 18 16:19:07 EDT 2000


From: http://www.python.org/doc/current/lib/module-threading.html

"Python's Thread class supports a subset of the behavior of Java's Thread class;
currently, there are no priorities, no thread groups, and threads
cannot be destroyed, stopped, suspended, resumed, or interrupted...."

On Thu, 18 May 2000 04:07:37 GMT, Karl Lewin <lewinke at home.com> wrote:
>Is there a way to "kill" a thread that is currently asleep.
>
>Example:
>
>thread t1 is currently executing "time.sleep(60)", is it possible to
>kill/delete/destroy the thread object before it finishes sleeping?
>
>If this isn't clear, I can post a better example tomorrow.
>
>
>
>



More information about the Python-list mailing list