On Apr 8, 2008, at 2:40 PM, Roland Silver wrote: Is there some way to tell how many threads are running for a project?
Please rephrase the question and provide some context. Projects don't run, they build; apps run, and apps can run in a number of ways in a number of environments. And there are different ways "to tell" depending on who or what you want to tell.
If you're asking whether you as a programmer can tell how many threads are running for a program running under the debugger, there's a Threads popup in the debug window and in the Debugger bar in the editor.
If you want to tell outside of Xcode, there's a ThreadViewer.app utility application, or the top Shell utility lists the number of threads for a given process.
If you want to tell programaticallyfrom inside your process how many threads it is running, it will be different depending whether you are talking about Cocoa, Carbon, POSIX, or Kernel threads.
Chris |