What is the natural sequence of threads execution in Python?

Viewed 20

I have a telegram bot which has many commands which creates threads (thread with while True loop). How do I find out the execution sequence of these threads? suppose a command /start in telegram bot, creates and runs a thread with name t-start which is an infinite loop. Now I run another command /check in telegram bot which creates and runs a thread with name t-check which is also an infinite loop.

How do I find out the natural sequence of the execution of these threads?

0 Answers
Related