Determining the current thread

Using arguments to identify or name the thread is cumbersome and unnecessary. Each Thread instance has a name with a default value that can be changed as the thread is created.

Naming threads is useful in server processes with multiple service threads that handle different operations.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset