thread object python code example
Example: python thread function
x = threading.Thread(target=thread_function, args=(1,), daemon=True)
x.start()
# x.join()
x = threading.Thread(target=thread_function, args=(1,), daemon=True)
x.start()
# x.join()