Forums Register Login

Duplicate thread-id?

+Pie Number of slices to send: Send
In the ThreadGroup, any two threads have same thread-id?
+Pie Number of slices to send: Send

Take a look at the Thread and ThreadGroup javadocs. Is there a concept of a thread-id? Or is it more based on the generic thread name?

For thread names, what happened when you tried it? Were you able to set two threads to the same name?

Henry
Yup, yup, yup. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1200 times.
Similar Threads
using run on Threads Problem
Parent thread id
How to get thread id?
match a thread id to the JVM spawning it?
Doubt regarding Threads found in K&B OCP Java 6 Practice Exams Book
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 01:53:41.