Looks up a single thread by its ID, throwing an exception if it cannot be found. Unlike enumerateThreads(), cloaked threads are not hidden: an explicit lookup by ID always returns the thread if it exists.
enumerateThreads()
ID of the thread to find.
Looks up a single thread by its ID, throwing an exception if it cannot be found. Unlike
enumerateThreads(), cloaked threads are not hidden: an explicit lookup by ID always returns the thread if it exists.