hi,
i want to write a program in c++ or c# that
will show me all the threads and their priority
that now running in my application.
how can i do this???
thanks,
shay.

Unless your program creates threads there will be only one thread in your program. The details are operating system dependent.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.