[concurrency-interest] Setting a Thread name in a ThreadPool

Gregg Wonderly gregg at cytetech.com
Thu Oct 26 12:08:36 EDT 2006



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


More information about the Concurrency-interest mailing list