> 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