array(Thread.Thread) all_threads()
This function returns an array with the thread ids of all threads.
Thread()