• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • Last Modified:

list of threads running in a service

Hi! I need to write a program that returns a list of threads that are running in a service. How can I do that? Thank you
0
izloch2
Asked:
izloch2
  • 2
1 Solution
 
surajgupthaCommented:
You can get the list of threads running in a process / service by using SPY ++
0
 
izloch2Author Commented:
i need to get the list of threads programmatically and then extract NamedDataSlot info from there
0
 
surajgupthaCommented:
Here is an application that gets the list of threads programtically. http://www.codeproject.com/dotnet/threadmonitor.asp

After getting the list of threads you can get the NamedDataSlot by using Thread.GetNamedDataSlot("SlotName")

0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now