How can I get reference to a Running Thread if I know the ID associated with that Thread?
e.g.
long threadID = 12342;
Thread thread = (What goes here?) getThreadFromId(threadID); //I know this is totally made up
See Question&Answers more detail:os