B
Brian Stoop
Hi,
1. I create a console application to create 10 differently named Threads.
2. Set each Thread to loop infinitely, sleeping every second.
3. Alter one of the threads to loop without any sleep..
4. Run the program in debug.
If you view Task manager, the program is taking 98-100% CPU.
Is there a way, of locating which Thread is responsible for the CPU outage,
without using breakpoints and deduction?
B.
1. I create a console application to create 10 differently named Threads.
2. Set each Thread to loop infinitely, sleeping every second.
3. Alter one of the threads to loop without any sleep..
4. Run the program in debug.
If you view Task manager, the program is taking 98-100% CPU.
Is there a way, of locating which Thread is responsible for the CPU outage,
without using breakpoints and deduction?
B.