A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-January/019691.html below:

[Python-Dev] Thread questionlet

[Python-Dev] Thread questionlet [Python-Dev] Thread questionletGuido van Rossum guido@python.org
Tue, 29 Jan 2002 16:46:41 -0500
> My question, which I could not easily answer by reading
> the source is:
> What happens when the main thread ends? Do all threads run
> until they are eady too, or are they just killed away?
> And if they are killed, are they just removed, or do
> they all get an exception for cleanup?

If you're talking about the thread module, they are killed without
being given notice.  The threading module however waits for all
non-daemon threads, using the atexit mechanism build on top of
sys.exit.

--Guido van Rossum (home page: http://www.python.org/~guido/)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4