I'm moving this to the Threads ans Synchonization forum. Please look for replies there.
posted 11 years ago
Calling Thread.currentThread().getThreadGroup() will let you access the other threads running in your group. From there, you can call getParent() to get at higher thread groups, thus iterating through all threads.