• multiprocessing
  • multithreading
  • threading

The questioner’s code runs a function and makes its return value a thread’s target instead of using the function as the target directly.