Interate over all threads.