Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Urgent : Knowing the number of threads for a process ...

Status
Not open for further replies.

isaisa

Programmer
Joined
May 14, 2002
Messages
97
Location
IN
Hi all,
i wanted to know how many threads are spawned for a process using 'c' program on windows NT. After knowing number of threads exceeding 3, the program will kill the process and will restart the process again.

Can someone help me ?????

Thanks in advance.
Sanjay
 
I have Windows NT WS. Process Viewer shows me: IE - 14 threads, Outlook - 13 threads run now. Some my own NT applications run tens of threads. Yes, when number of threads exceed 200-300-500... your system performance can degrade. Evidently, your app crash does not depend on thread number threshold.
Unfortunately it's a hard work to debug multithreaded app...
Good luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top