Threads in a threadgroup

G

Gordon Beaton

How do you get hold of threads in a threadgroup? list() just prints them out

Directly from the JavaDocs:

int enumerate(Thread[] list, boolean recurse)
Copies into the specified array every active thread in this thread group [...]

/gordon

--
 
T

Thomas Fritsch

Crouchez said:
How do you get hold of threads in a threadgroup? list() just prints them
out
See the API docs of class ThreadGroup. Look for "enumerate".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,265
Latest member
TodLarocca

Latest Threads

Top