Subj : Re: How do I get the number of my 'own' threads programmatically on Linux? To : comp.programming.threads From : Markus Elfring Date : Tue Jan 04 2005 09:35 pm > I have a process (Linux) which loads some libraries like 'xerces', > 'ACE' etc which in turn spawn their own threads. I am writing a > monitoring tool which needs to display the number of threads that the > process has spawned. How do I do it programatically? Are there any API > available? I checked the pthread library, but could not find a useful > method in there. Can anyone please help me out? The discussion "Introspection functions" has got some more background information on this topic. http://groups.google.de/groups?threadm=3ff98886%40usenet01.boi.hp.com Regards, Markus .