As part of a crusade to find bugs in a C++ program running on a Solaris system I needed to find out information about all the threads belonging to a certain process. The program is written the way it is because you rarely need thread info about all threads running in a system but rather [...]