Hello everyone. I'm currently working on a python application where I use threading. While I'm running multiple threads in parallel, the main application loop is observing the running threads. In the case, the application is ending (because of an exception or a keyboard interrupt or any other reason), the application tries to end all started threads first. So far so good, but if I check for running threads, I do not only see the ones, I started myself, but also 4-5 more threads, which are "unnamed" or named as following:
- MainThread
- Thread-1
- Thread-2
- Thread-3
- Thread-4
- Thread-5
I have no idea, where they come from. Is there anything I could try to get more information about these threads to find out, why they are running?
- MainThread
- Thread-1
- Thread-2
- Thread-3
- Thread-4
- Thread-5
I have no idea, where they come from. Is there anything I could try to get more information about these threads to find out, why they are running?
Statistics: Posted by Tetrikus — Thu Jan 09, 2025 9:41 am