logo       

Re: Setting a Thread name in a ThreadPool: msg#00067

java.jsr.166-concurrency

Subject: Re: Setting a Thread name in a ThreadPool



David Holmes wrote:
> Right! My question was going to be "what's wrong with the names they have?"

In multi-threaded applications, I like to put the IP address of a client being
served, a database key name of a row being updated etc on my threads so that I
can tell from the trace, which threads and which associated data are "stuck",
or
having particular issues.

Gregg Wonderly


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise