How do I count programatically the number of threads?
From: nanolucifer (niranjan.tulpule_at_gmail.com)
Date: 12/27/04
- Previous message: Timur Aydin: "What did Master Foo mean here?"
- Next in thread: Basile Starynkevitch [news]: "Re: How do I count programatically the number of threads?"
- Reply: Basile Starynkevitch [news]: "Re: How do I count programatically the number of threads?"
- Reply: David Schwartz: "Re: How do I count programatically the number of threads?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Dec 2004 09:12:23 -0800
Hi,
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?
Thanks,
NT
- Previous message: Timur Aydin: "What did Master Foo mean here?"
- Next in thread: Basile Starynkevitch [news]: "Re: How do I count programatically the number of threads?"
- Reply: Basile Starynkevitch [news]: "Re: How do I count programatically the number of threads?"
- Reply: David Schwartz: "Re: How do I count programatically the number of threads?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|