What is the "correct" way to make a stoppable thread in Python, given stoppable pseudo-atomic units of work? What is the "correct" way to make a stoppable thread in Python, given stoppable pseudo-atomic units of work? multithreading multithreading