I have a program which calls a C++ library. The program processes has a large number of threads (50 - 60). Most of them seem to be created in C++ and I suspect most are suspended/waiting.
How do I find how many of these threads are active at a given point in time?