I want to call callback function when thread finished. And it should be thread safe
I want solution to call a callback function when thread finished and it should be thread safe.
my_thread = threading.Thread(target=do_work)
my_thread.finished.connect(thread_finished()
my_thread.start()