What are the benefits of defining a name and a thread group for a thread?

advertisements

what are the benefits of setting a name and thread group for one thread when creating a it in java ? and can I monitor it in LogCat (in android) ?


The benefit of setting a name is mainly for logging purposes.

The benefit of setting a thread group is so you can use the methods of ThreadGroup on it.