I work with threads in my project. Among other threads, two HandlerThread created in two different classes in this way:
HandlerThread thread = new HandlerThread("ServiceThread", Process.THREAD_PRIORITY_DEFAULT); Then they start: thread.start(); and i use their loops.
And just now I discovered that they are created with exactly the same name (the first parameter in the constructor is the name).
My question is, can there be problems due to the fact that the threads have the same name? Are the names any identifiers for the streams?