Thread context switch rule
https://stackoverflow.com/questions/12476888/how-to-check-the-number-of-currently-running-threads-in-python
https://docs.python.org/3.4/library/threading.html
https://pymotw.com/2/threading/
https://stackoverflow.com/questions/1032813/dump-stacktraces-of-all-active-threads